mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
test: fix e2e possibly
This commit is contained in:
parent
ce53ce22fd
commit
0cf7b041e3
1 changed files with 6 additions and 9 deletions
|
|
@ -13,20 +13,17 @@ module.exports = {
|
|||
.loadAppAndClickAwayWelcomeDialog(TARGET_URL)
|
||||
.url(`${BASE}/#/tag/TODAY/schedule`)
|
||||
|
||||
.click('section.main > side-nav-item > button')
|
||||
.click('section.main > button:nth-of-type(1)')
|
||||
.click('side-nav section.main > side-nav-item > button')
|
||||
.click('side-nav section.main > button:nth-of-type(1)')
|
||||
.waitForElementVisible(CANCEL_BTN)
|
||||
.click(CANCEL_BTN)
|
||||
|
||||
.click('section.main > button:nth-of-type(2)')
|
||||
.click('side-nav section.main > button:nth-of-type(2)')
|
||||
|
||||
.click('section.projects button')
|
||||
.click('section.tags button')
|
||||
.click('side-nav section.projects button')
|
||||
.click('side-nav section.tags button')
|
||||
|
||||
.click('section.app > button:nth-of-type(1)')
|
||||
// .click('section.app > button:nth-of-type(2)')
|
||||
// .waitForElementVisible('.cdk-overlay-backdrop')
|
||||
// .click('.cdk-overlay-backdrop')
|
||||
.click('side-nav section.app > button:nth-of-type(1)')
|
||||
.click('button.tour-settingsMenuBtn')
|
||||
|
||||
.url(`${BASE}/#/tag/TODAY/quick-history`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue