AV
Size: a a a
AV
AV
NS
OI
NS
NS
OI
NS
SK
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
AV
SK
AV
SK
AV
E
m
MB
m
m