forked from firka/flutter
[web] validate WebDriver responses (#96884)
Validate WebDriver responses
This commit is contained in:
@@ -745,8 +745,8 @@ void main() {
|
||||
const String waitForCommandLog = '>>> {command: waitFor, timeout: 1234, finderType: ByTooltipMessage, text: logCommunicationToFile test}';
|
||||
const String responseLog = '<<< {isError: false, response: {status: ok}, type: Response}';
|
||||
|
||||
expect(commandLog.contains(waitForCommandLog), true, reason: '$commandLog not contains $waitForCommandLog');
|
||||
expect(commandLog.contains(responseLog), true, reason: '$commandLog not contains $responseLog');
|
||||
expect(commandLog, contains(waitForCommandLog), reason: '$commandLog not contains $waitForCommandLog');
|
||||
expect(commandLog, contains(responseLog), reason: '$commandLog not contains $responseLog');
|
||||
});
|
||||
|
||||
test('logCommunicationToFile = false', () async {
|
||||
|
||||
Reference in New Issue
Block a user