Update editor, themes, menus, backgrounds, and release tooling
This commit is contained in:
@@ -74,7 +74,8 @@ async function selectProfile(id) {
|
||||
await profile.click();
|
||||
await page.getByRole('menuitemradio', { name: id === 'work' ? 'Work' : 'Personal', exact: true }).click();
|
||||
}
|
||||
const kind = section.getByRole('combobox', { name: 'Web data type', exact: true });
|
||||
const kind = section.getByRole('button', { name: 'Web data type', exact: true });
|
||||
async function selectKind(value) { await kind.click(); await page.getByRole('menuitemradio', { name: value === 'cookies' ? 'Cookies' : 'History', exact: true }).click(); }
|
||||
const filter = section.getByRole('searchbox', { name: 'Filter web data', exact: true });
|
||||
const refresh = section.getByRole('button', { name: 'Refresh', exact: true });
|
||||
const personalCookie = () => section.getByRole('button', { name: 'Remove cookie session from personal.example at /account', exact: true });
|
||||
@@ -109,7 +110,7 @@ try {
|
||||
await settle();
|
||||
await section.getByText('No matching cookies.', { exact: true }).waitFor();
|
||||
assert.equal(await page.evaluate(() => window.webDataTest.data.work.cookies.length), 1, 'Removing a cookie preserves another profile with the same ID');
|
||||
await kind.selectOption('history');
|
||||
await selectKind('history');
|
||||
await filter.fill('GUIDE');
|
||||
await section.getByRole('button', { name: 'Remove history entry Personal guide', exact: true }).click();
|
||||
await settle();
|
||||
@@ -122,7 +123,7 @@ try {
|
||||
await settle();
|
||||
assert.equal(await filter.inputValue(), '', 'Profile changes clear the prior filter');
|
||||
await section.getByText('Work guide', { exact: true }).waitFor();
|
||||
await kind.selectOption('cookies');
|
||||
await selectKind('cookies');
|
||||
await workCookie().waitFor();
|
||||
|
||||
// A delayed successful response from the previous profile must not replace the current rows.
|
||||
@@ -188,7 +189,7 @@ try {
|
||||
}, theme);
|
||||
assert.equal(await page.evaluate(() => getComputedStyle(document.documentElement).getPropertyValue('--rs-bg').trim()), theme === 'light' ? '#f3f3f3' : '#141414');
|
||||
for (const dataType of ['cookies', 'history']) {
|
||||
await kind.selectOption(dataType);
|
||||
await selectKind(dataType);
|
||||
await section.scrollIntoViewIfNeeded();
|
||||
await page.screenshot({ path: `.audit/cards-2026-10-08-next/browser-web-data-${dataType}-${theme}.png` });
|
||||
const overflow = await section.evaluate(node => {
|
||||
|
||||
Reference in New Issue
Block a user