Skip to content

Commit

Permalink
Modified e2e-test for form's detail area.
Browse files Browse the repository at this point in the history
  • Loading branch information
msyk committed Dec 6, 2023
1 parent 4c7fda4 commit 2a3688c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions spec/run/test/specs/form_page_tests/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ module.exports = (FormPage) => {
await browser.acceptAlert()
await browser.pause(waiting * 4)

const rows = FormPage.rowContact
await rows[0].waitForExist()
await rows[1].waitForExist()
await rows[2].waitForExist()
const rows = await FormPage.rowContact
// await rows[0].waitForExist()
// await rows[1].waitForExist()
// await rows[2].waitForExist()
await expect(rows[0]).toExist() // There has three lines
await expect(rows[1]).toExist()
await expect(rows[2]).toExist()
Expand All @@ -162,11 +162,11 @@ module.exports = (FormPage) => {
//await browser.acceptAlert()
await browser.pause(waiting * 4)

const rows = FormPage.rowContact
await rows[0].waitForExist()
await rows[1].waitForExist()
await rows[2].waitForExist()
await rows[3].waitForExist()
const rows = await FormPage.rowContact
// await rows[0].waitForExist()
// await rows[1].waitForExist()
// await rows[2].waitForExist()
// await rows[3].waitForExist()
await expect(rows[0]).toExist() // There has three lines
await expect(rows[1]).toExist()
await expect(rows[2]).toExist()
Expand Down

0 comments on commit 2a3688c

Please sign in to comment.