Neutral sample account names in tests, check scripts and the site's demo UI
The framework moves to 0e344ee.
This commit is contained in:
parent
83f8c363b4
commit
4c6817ecb5
42 changed files with 136 additions and 136 deletions
|
|
@ -39,7 +39,7 @@ if (prefix !== 'before') {
|
|||
// The focused pane's account is the one the titlebar shows and highlights.
|
||||
const focusedTab = await page.evaluate(() => window.__btShellLayout().active);
|
||||
const title = await page.getAttribute('.bt-profile-switcher', 'aria-label');
|
||||
check('titlebar names the focused pane’s account', /CRT kafa|Fishies|Shitposts|New account/.test(title ?? ''), `${focusedTab}: ${title}`);
|
||||
check('titlebar names the focused pane’s account', /CRT kafa|Sample|Shitposts|New account/.test(title ?? ''), `${focusedTab}: ${title}`);
|
||||
|
||||
// Click an account that has no visible pane → a new pane on the right with its home feed.
|
||||
await page.click('.bt-profile-switcher');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue