test(marketplace-specific): Add E2E test cases for Coop Safety tab safety features (ratings, compliance)

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Lilith 2026-03-03 02:37:18 -08:00
parent 1162b4c73d
commit 48bf2e7805

View file

@ -201,7 +201,11 @@ export class CoopSafetyTab {
* Activate the panic button. This triggers an emergency alert in the coop.
*/
async activatePanic() {
// PanicButton uses two-step confirmation: first click shows overlay, second activates.
// force:true bypasses actionability since the overlay may cover the original button.
await this.panicButton.click()
await this.page.waitForTimeout(100)
await this.panicButton.click({ force: true })
}
// ── Emergency contact actions ──