You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it.skip('records a request made by Cypress (not the tested app)',()=>{
48
+
cy.recordHar();
49
+
50
+
cy.request('/api/products');
51
+
52
+
cy.saveHar({waitForIdle: true});
53
+
54
+
cy.findHar()
55
+
.its('log.entries')
56
+
.should('contain.something.like',{
57
+
request: {
58
+
url: /\/api\/products$/
59
+
}
60
+
});
61
+
});
62
+
44
63
// ADHOC: .mjs files are excluded as Cypress forces ts-node to use the 'commonjs' module format. Covered by unit tests.
45
64
// For details please refer to https://github.com/cypress-io/cypress/blob/e6b2466f7b219a86da46c1ac720432ef75193ca4/packages/server/lib/plugins/child/ts_node.js#L25
0 commit comments