We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f1b78f commit aa65135Copy full SHA for aa65135
tests/e2e/pageObjects/components/bottom-panel/cli.ts
@@ -160,4 +160,14 @@ export class Cli {
160
161
await this.sendCommandsInCli(scripts);
162
}
163
+
164
+ /**
165
+ * Get warning message text by command
166
+ * @param command command name
167
+ */
168
+ async getWarningMessageText(command: string): Promise<string> {
169
170
+ const executedCommand = await this.cliCommandExecuted.withExactText(command);
171
+ return await executedCommand.nextSibling(0).textContent;
172
+ }
173
0 commit comments