aboutsummaryrefslogtreecommitdiffstats
path: root/tools/chat-layout-test.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/chat-layout-test.js')
-rw-r--r--tools/chat-layout-test.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/chat-layout-test.js b/tools/chat-layout-test.js
index 34c8dc0..875f75b 100644
--- a/tools/chat-layout-test.js
+++ b/tools/chat-layout-test.js
@@ -51,9 +51,8 @@ try {
await page.type('textarea', generateMnemonic(wordlist));
await click('button', 'Open wallet');
await waitText('receive', 15000);
- // .header-msgs is the shared header-button class — settings, lock and
- // search wear it too, and the first one is no longer this one
- await page.evaluate(() => [...document.querySelectorAll('button')]
+ // Messages is a button in the bottom nav
+ await page.evaluate(() => [...document.querySelectorAll('.app-nav-button')]
.find((b) => /message/i.test(b.getAttribute('aria-label') || ''))?.click());
await sleep(800);
await click('button', 'Create');