mirror of
https://github.com/maputnik/editor.git
synced 2026-07-30 09:47:28 +00:00
fix tests for firefox
This commit is contained in:
committed by
Pirmin Kalberer
parent
189c34e0a2
commit
292666a294
@@ -88,7 +88,8 @@ describe("modals", () => {
|
|||||||
when.setValue("modal:sources.add.source_id", sourceId);
|
when.setValue("modal:sources.add.source_id", sourceId);
|
||||||
when.select("modal:sources.add.source_type", "pmtiles_vector");
|
when.select("modal:sources.add.source_type", "pmtiles_vector");
|
||||||
when.setValue("modal:sources.add.source_url", "https://data.source.coop/protomaps/openstreetmap/v4.pmtiles");
|
when.setValue("modal:sources.add.source_url", "https://data.source.coop/protomaps/openstreetmap/v4.pmtiles");
|
||||||
when.realClick("modal:sources.add.add_source");
|
when.blur("modal:sources.add.source_url");
|
||||||
|
when.click("modal:sources.add.add_source");
|
||||||
when.wait(200);
|
when.wait(200);
|
||||||
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
|
then(get.styleFromLocalStorage()).shouldDeepNestedInclude({
|
||||||
sources: {
|
sources: {
|
||||||
|
|||||||
Reference in New Issue
Block a user