sdfsdf
This commit is contained in:
1 parent
a59be0fc9c
commit
4cd68793c9
41 files changed
+287
-129
No files matched your search
@@ -110,7 +110,7 @@ module.exports = {
|
||||
},
|
||||
|
||||
async settings(ctx) {
|
||||
const { sleep, shot, key } = ctx;
|
||||
const { js, sleep, shot, key } = ctx;
|
||||
await reset(ctx);
|
||||
await openFromSidebar(ctx, 'Roadmap');
|
||||
await key(',', ['control']);
|
||||
@@ -132,4 +132,39 @@ module.exports = {
|
||||
await shot('history');
|
||||
await key('Escape');
|
||||
},
|
||||
|
||||
async databases(ctx) {
|
||||
const { js, sleep, shot } = ctx;
|
||||
await reset(ctx);
|
||||
await openFromSidebar(ctx, 'Feature tracker');
|
||||
await sleep(1200);
|
||||
await scrollPage(js, 230);
|
||||
await sleep(400);
|
||||
await shot('databases');
|
||||
},
|
||||
|
||||
async 'database-board'(ctx) {
|
||||
const { js, sleep, shot } = ctx;
|
||||
await reset(ctx);
|
||||
await openFromSidebar(ctx, 'Feature tracker');
|
||||
await sleep(800);
|
||||
await js(`[...document.querySelectorAll('button, [role="tab"]')].find((b) => b.textContent.trim() === 'Board')?.click()`);
|
||||
await sleep(1000);
|
||||
await scrollPage(js, 230);
|
||||
await sleep(400);
|
||||
await shot('database-board');
|
||||
},
|
||||
|
||||
// The settings dialog on the color theme and accent pickers. Run once per palette by run.sh.
|
||||
async themes(ctx) {
|
||||
const { js, sleep, shot, key } = ctx;
|
||||
await reset(ctx);
|
||||
await openFromSidebar(ctx, 'Roadmap');
|
||||
await key(',', ['control']);
|
||||
await sleep(900);
|
||||
await js(`document.querySelector('[aria-label="Color theme"]')?.scrollIntoView({ block: 'center' })`);
|
||||
await sleep(500);
|
||||
await shot('themes');
|
||||
await key('Escape');
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user