Fix end-to-end tests rejectToast

pull/21833/head
Germain Souquet 2021-06-28 09:01:04 +01:00
parent d669f55b60
commit 96857ab7f7
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ async function acceptToast(session, expectedTitle) {
async function rejectToast(session, expectedTitle) {
await assertToast(session, expectedTitle);
const btn = await session.query('.mx_Toast_buttons .mx_AccessibleButton_kind_danger');
const btn = await session.query('.mx_Toast_buttons .mx_AccessibleButton_kind_danger_outline');
await btn.click();
}