chore: lint
This commit is contained in:
parent
325880f86f
commit
4a99f357f2
1 changed files with 4 additions and 4 deletions
|
@ -13,10 +13,10 @@ def test_iframe_code(map, live_server, datalayer, page):
|
|||
expect(textarea).to_have_text(re.compile('src="'))
|
||||
expect(textarea).to_have_text(re.compile('href="'))
|
||||
# We should ave both, once for iframe link, once for full screen
|
||||
expect(textarea).to_have_text(re.compile('scrollWheelZoom=true'))
|
||||
expect(textarea).to_have_text(re.compile('scrollWheelZoom=false'))
|
||||
expect(textarea).not_to_have_text(re.compile(f'datalayers={datalayer.pk}'))
|
||||
expect(textarea).to_have_text(re.compile("scrollWheelZoom=true"))
|
||||
expect(textarea).to_have_text(re.compile("scrollWheelZoom=false"))
|
||||
expect(textarea).not_to_have_text(re.compile(f"datalayers={datalayer.pk}"))
|
||||
# Open options
|
||||
page.get_by_text("Embed and link options").click()
|
||||
page.get_by_title("Keep current visible layers").click()
|
||||
expect(textarea).to_have_text(re.compile(f'datalayers={datalayer.pk}'))
|
||||
expect(textarea).to_have_text(re.compile(f"datalayers={datalayer.pk}"))
|
||||
|
|
Loading…
Reference in a new issue