• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

serenity-js / serenity-js / 4841173571

29 Apr 2023 11:10PM CUT coverage: 97.065% (+3.5%) from 93.614%
4841173571

Pull #1673

github

GitHub
Merge 4032ed663 into b60bb1801
Pull Request #1673: feat(webdriverio): Support for WebdriverIO v8

3356 of 3548 branches covered (94.59%)

Branch coverage included in aggregate %.

243 of 243 new or added lines in 35 files covered. (100.0%)

31205 of 32058 relevant lines covered (97.34%)

472.66 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.1
/packages/web/src/screenplay/models/dialogs/DismissedModalDialog.ts
1
import { ensure, isDefined } from 'tiny-types';
10✔
2

10✔
3
import { ModalDialog } from './ModalDialog';
10✔
4

10✔
5
/**
10✔
6
 * `DismissedModalDialog` represents a {@apilink ModalDialog} that has been dismissed
10✔
7
 * via {@apilink ModalDialog.dismissNext}.
10✔
8
 *
10✔
9
 * ## Learn more
10✔
10
 * - {@apilink ModalDialog}
10✔
11
 *
10✔
12
 * @group Models
10✔
13
 */
10✔
14
export class DismissedModalDialog extends ModalDialog {
10✔
15
    constructor(private readonly dialogMessage: string) {
10✔
16
        super();
39✔
17
        ensure('dialogMessage', dialogMessage, isDefined());
39✔
18
    }
39✔
19

10✔
20
    async isPresent(): Promise<boolean> {
10✔
21
        return true;
×
22
    }
×
23

10✔
24
    async message(): Promise<string> {
10✔
25
        return this.dialogMessage;
12✔
26
    }
12✔
27
}
10✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc