theopensystemslab / planx-new

Plan✕ is a platform for creating and publishing digital planning services
https://editor.planx.uk
Mozilla Public License 2.0
13 stars 2 forks source link

feat: Map and Label Remove Tests #3696

Closed RODO94 closed 1 day ago

RODO94 commented 2 days ago

What does this PR do?

Following previous work on Map and Label testing, I am continuing through and testing the Remove feature.

To test the feature being deleted the map, I am accessing the drawgeojson attribute of <my-map> seemed a good way to confirm it has been deleted from the map itself. Open to alternative suggestions though.

    const mapTwo = getByTestId("map-and-label-map");

    expect(mapTwo).toHaveAttribute(
      "drawgeojsondata",
      `{"type":"FeatureCollection","features":[]}`
    );
github-actions[bot] commented 2 days ago

Removed vultr server and associated DNS entries