(header: string)
| 6 | } |
| 7 | |
| 8 | async function loadBasicPage(header: string) { |
| 9 | await loadTestPage({ |
| 10 | '/': multiline( |
| 11 | '<!DOCTYPE html>', |
| 12 | '<html>', |
| 13 | '<head>', |
| 14 | ' <style>', |
| 15 | ' h1 { color: red; }', |
| 16 | ' </style>', |
| 17 | '</head>', |
| 18 | '<body>', |
| 19 | ` <h1>${header}</h1>`, |
| 20 | ' <p>Text</p>', |
| 21 | ' <a href="#">Link</a>', |
| 22 | '</body>', |
| 23 | '</html>', |
| 24 | ), |
| 25 | }); |
| 26 | } |
| 27 | |
| 28 | describe('Toggling the extension', () => { |
| 29 | const automationMenuSelector = '.header__more-settings-button'; |
no test coverage detected