mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Fix shmui visual test
This commit is contained in:
parent
29b1d8f7e5
commit
11f644dd11
@ -29,12 +29,17 @@ gemini.suite('Work detail', (suite) => {
|
||||
basicPieceSuite
|
||||
.setUrl(pieceUrl)
|
||||
.capture('basic piece')
|
||||
.capture('shmui', (actions, find) => {
|
||||
actions.click(find('.ascribe-media-player'));
|
||||
actions.waitForElementToShow('.shmui-wrap:not(.loading)', 30000);
|
||||
// Wait for the transition to end
|
||||
actions.wait(1000);
|
||||
});
|
||||
|
||||
gemini.suite('Shmui', (shmuiSuite) => {
|
||||
shmuiSuite.
|
||||
setCaptureElements('.shmui-wrap')
|
||||
.capture('shmui', (actions, find) => {
|
||||
actions.click(find('.ascribe-media-player'));
|
||||
actions.waitForElementToShow('.shmui-wrap:not(.loading)', 30000);
|
||||
// Wait for the transition to end
|
||||
actions.wait(1000);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
gemini.suite('Basic edition', (basicEditionSuite) => {
|
||||
|
Loading…
Reference in New Issue
Block a user