S: fix watsjs
we removed the title to avoid double-tooltips, but we used that for
locating the button. probably makes more sense to try to locate the
button with the accessibility attribute that's meant to help users of
screen readers locate elements, anyway
@@ -31,8 +31,8 @@ test('shows abort hooks', async t => {
await t.context.web.waitForText("say-bye-from-job");
// await t.context.web.waitForText("looping");
- await t.context.web.page.waitFor('button[title="Abort Build"]');
- await t.context.web.page.click('button[title="Abort Build"]');
+ await t.context.web.page.waitFor('button[aria-label="Abort Build"]');
+ await t.context.web.page.click('button[aria-label="Abort Build"]');
await t.context.web.waitForBackgroundColor('.build-header', palette.brown, {
timeout: 60000,
