Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

Commit b582a91

Browse files
committed
test
1 parent 8ec73b3 commit b582a91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/invite.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ module.exports = {
6565
browser
6666
.url('https://www.mailinator.com/v3/index.jsp?zone=public&query=bullet-train#/#inboxpane')
6767
.useXpath()
68-
.waitForElementVisible("//*[contains(text(), 'Organisation Invite - Site Assist')]", 60000)
69-
.click("//*[contains(text(), 'Organisation Invite - Site Assist')]")
68+
.waitForElementVisible(`//tbody/tr/td/a[contains(text(),"${`Bullet Train Org${append}`}")]`, 60000)
69+
.click(`//tbody/tr/td/a[contains(text(),"${`Bullet Train Org${append}`}")]`)
7070
.useCss()
7171
.waitForElementVisible('#msg_body')
7272
.pause(1000) // TODO revise this. currently necessary as the msg_body does not appear to show text immediately leading to an empty result

0 commit comments

Comments
 (0)