mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 36acf7a01cb8ffbbafbd578229c5ad3fde2e47cc
This commit is contained in:
parent
305312e93b
commit
4499a0fbb6
151 changed files with 4858 additions and 2407 deletions
|
@ -53,6 +53,12 @@ export const assertToastNotShown = (toast) => {
|
|||
assert_false(toast.open);
|
||||
};
|
||||
|
||||
export const assertActionButtonOnToast = (action, toast) => {
|
||||
assert_equals(toast.action, action);
|
||||
assert_equals(action.getAttribute('slot'), 'action');
|
||||
assert_equals(action, toast.querySelector('button'));
|
||||
};
|
||||
|
||||
export class EventCollector {
|
||||
events = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue