Skip to content

Commit 354cf6f

Browse files
author
Peter Rushforth
committed
When you remove the src attribute from a layer, it's now empty, and
should NOT be disabled.
1 parent 4479319 commit 354cf6f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/e2e/elements/layer-/layer-dash-src.test.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,8 @@ test.describe('layer- local/inline vs remote content/src tests', () => {
3434
);
3535

3636
// remove the src attribute
37-
3837
await layer.evaluate((layer) => layer.removeAttribute('src'));
39-
await page.waitForTimeout(500);
40-
// Wait for the disabled attribute to be set asynchronously
41-
await expect(layer).toHaveAttribute('disabled', '', { timeout: 2000 });
38+
// layer is not disabled, though empty. Is that correct? Seems ok...
4239

4340
// append the template map-extent to the local / inline content
4441
await page.evaluate(() => {

0 commit comments

Comments
 (0)