ruthmoog / bee

🐝 A mobile application for surveying bumblebees.
https://purple-wood-8308.fly.dev/
MIT License
2 stars 0 forks source link

Test that when edits are saved, fields cannot be editable #21

Open ruthmoog opened 1 year ago

ruthmoog commented 1 year ago

I've added a test bee.spec.js/Change walk meta data which is testing the edit/save metadata functionality, however negating the toBeEditable method is not working how I expected. It seems correct in the UI but the not isn't getting passed playwrights checks

        await expect(endTime).not.toBeEditable();

https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-not