fix(curriculum): check for correct method in test (#42214)

I don't know how the code runs from here, but I'm assuming it should be the correct method now
This commit is contained in:
Halu89
2021-05-22 10:58:35 +02:00
committed by GitHub
parent df0860dd96
commit 1018f91535

View File

@ -94,7 +94,7 @@ You should assert that the element 'span#dates' exist and its count is 1.
(getUserInput) =>
$.get(getUserInput('url') + '/_api/get-tests?type=functional&n=5').then(
(data) => {
assert.equal(data.assertions[3].method, 'browser.element');
assert.equal(data.assertions[3].method, 'browser.elements');
assert.match(data.assertions[3].args[0], /('|")span#dates\1/);
assert.equal(data.assertions[3].args[1], 1);
},