aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2019-08-03 04:31:26 +0800
committerGitHub <noreply@github.com>2019-08-03 04:31:26 +0800
commit9d5be5d29fcdab1273e30810f87de4624b8622a1 (patch)
tree60d59d7c4d72c2af25c711c7c805142e94d28989 /test/e2e
parentdadda918b4f2b82c6da82c6d0605d9134868202f (diff)
downloadtangerine-wallet-browser-9d5be5d29fcdab1273e30810f87de4624b8622a1.tar.gz
tangerine-wallet-browser-9d5be5d29fcdab1273e30810f87de4624b8622a1.tar.zst
tangerine-wallet-browser-9d5be5d29fcdab1273e30810f87de4624b8622a1.zip
New notification fixes (#6955)
* Replace use of backup-notification with use of home notification * Pin notifications relative to window * Remove unneeded isRequired condition on some home.component properties * Refactor rendering of home notifications * UX for multiple notifications * Adds dismissal to provider request notification. * Fix test failures The e2e tests have been updated to reference `home-notification` classnames instead of the removed `background-notification`. The active tab proptypes and default values were updated as well.
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/incremental-security.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/incremental-security.spec.js b/test/e2e/incremental-security.spec.js
index c2b231c86..5b0990581 100644
--- a/test/e2e/incremental-security.spec.js
+++ b/test/e2e/incremental-security.spec.js
@@ -207,12 +207,12 @@ describe('MetaMask', function () {
describe('backs up the seed phrase', () => {
it('should show a backup reminder', async () => {
- const backupReminder = await findElements(driver, By.css('.backup-notification'))
+ const backupReminder = await findElements(driver, By.xpath("//div[contains(@class, 'home-notification__text') and contains(text(), 'Backup your Secret Recovery code to keep your wallet and funds secure')]"))
assert.equal(backupReminder.length, 1)
})
it('should take the user to the seedphrase backup screen', async () => {
- const backupButton = await findElement(driver, By.css('.backup-notification__submit-button'))
+ const backupButton = await findElement(driver, By.css('.home-notification__accept-button'))
await backupButton.click()
await delay(regularDelayMs)
})