(header = 'E2E test page')
| 1 | import {multiline} from '../../support/test-utils'; |
| 2 | |
| 3 | async function loadBasicPage(header = 'E2E test page') { |
| 4 | await loadTestPage({ |
| 5 | '/': multiline( |
| 6 | '<!DOCTYPE html>', |
| 7 | '<html>', |
| 8 | '<head>', |
| 9 | ' <style>', |
| 10 | ' h1 { color: red; }', |
| 11 | ' </style>', |
| 12 | '</head>', |
| 13 | '<body>', |
| 14 | ` <h1>${header}</h1>`, |
| 15 | ' <p>Text</p>', |
| 16 | ' <a href="#">Link</a>', |
| 17 | '</body>', |
| 18 | '</html>', |
| 19 | ), |
| 20 | }); |
| 21 | } |
| 22 | |
| 23 | describe('Test environment', () => { |
| 24 | it('should turn On/Off', async () => { |
no test coverage detected