S
capabilities: {
'browserName': 'chrome',
'shardTestFiles': true,
'maxInstances': 2,
},
2 инстанса хрома открываются, но только в одном ранятся тесты. второй висит в бездействии. В чем проблема?
Size: a a a
S
BO
BO
MB
S
SG
SG
MB
SG
MB
OP
NS
AP
AP
OI
OK
E
it("Next, Validate Galaxy XHR", function () {
cy.log('check that "Next button" isn\'t clickable')
cy.get(".speech-bubble-juno")
.should("have.length", 1)
.then(() => {
cy.contains("NEXT").parent().parent().should("have.css",'opacity','0.4')
})
cy.server()
cy.route({
method: "GET",
url: "/get_static/planets_segula"
}).as("planets")
cy.log("waiting for planet's request, planets are visible")
cy.wait("@planets")
.then($xhr => {
expect($xhr.status).to.equal(200)
expect($xhr.response.body[0].data.children[0]).not.to.be.null
expect($xhr.response.body[0].data.children[0]).not.to.be.undefined
})
})AV
it("Next, Validate Galaxy XHR", function () {
cy.log('check that "Next button" isn\'t clickable')
cy.get(".speech-bubble-juno")
.should("have.length", 1)
.then(() => {
cy.contains("NEXT").parent().parent().should("have.css",'opacity','0.4')
})
cy.server()
cy.route({
method: "GET",
url: "/get_static/planets_segula"
}).as("planets")
cy.log("waiting for planet's request, planets are visible")
cy.wait("@planets")
.then($xhr => {
expect($xhr.status).to.equal(200)
expect($xhr.response.body[0].data.children[0]).not.to.be.null
expect($xhr.response.body[0].data.children[0]).not.to.be.undefined
})
})AV
E