Files
HKSingleParty/99_references/cf-identity-wallet-main/tests/steps-definitions/identity/identity-add.steps.ts
2025-05-28 09:55:51 +08:00

12 lines
449 B
TypeScript

import { Then } from "@wdio/cucumber-framework";
import { expect } from "expect-webdriverio";
import AddAnIdentifierModal from "../../screen-objects/components/identity/identity-add.modal.js";
Then(/^user can see Add An Identifier modal$/, async function () {
await AddAnIdentifierModal.loads();
});
Then(/^user can not to see Add An Identifier modal$/, async function () {
await expect(await AddAnIdentifierModal.id).not.toBeDisplayed();
});