stale-wire-41120
06/30/2022, 7:55 PMstale-wire-41120
06/30/2022, 8:41 PMswift-angle-95455
06/30/2022, 8:46 PMstale-wire-41120
07/01/2022, 5:08 AMacoustic-jewelry-82423
07/01/2022, 6:33 AMacoustic-jewelry-82423
07/01/2022, 6:34 AMrhythmic-lamp-20079
07/01/2022, 6:43 AMrhythmic-lamp-20079
07/01/2022, 6:44 AMacoustic-jewelry-82423
07/01/2022, 7:06 AMstale-wire-41120
07/01/2022, 7:32 AMstale-wire-41120
07/01/2022, 7:33 AMstale-wire-41120
07/01/2022, 7:34 AMfresh-doctor-14925
07/01/2022, 7:36 AMconst fileName = 'bulkimei.csv'
helpful-microphone-22896
07/01/2022, 12:39 PMpurple-kilobyte-85592
07/01/2022, 1:49 PMstale-wire-41120
07/01/2022, 5:59 PMstale-wire-41120
07/02/2022, 9:37 AMstale-wire-41120
07/02/2022, 9:37 AMpurple-kilobyte-85592
07/02/2022, 12:21 PMstale-wire-41120
07/02/2022, 1:22 PMmelodic-portugal-66708
07/04/2022, 5:08 AMadorable-smartphone-87280
07/04/2022, 6:01 AMwooden-teacher-96595
07/04/2022, 7:39 AMcareful-tent-30457
07/04/2022, 8:30 AMe2e_1 | Your configFile is invalid: /cypress.config.ts
e2e_1 |
e2e_1 | It threw an error when required, check the stack trace below:
e2e_1 |
e2e_1 | TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /cypress.config.ts
gentle-accountant-4760
07/04/2022, 10:12 AMts
const requestUrl = `${constants.baseUrl.api}/hello/world/User/${userID}`.trim();
const pathToSign = Helper.getPathToSign(requestUrl);
const timeStamp = Helper.formatDateISOBasic(new Date());
const headers = [
{ name: 'override', value: 'yes' },
{ name: 'keylord', value: '12345' },
{ name: 'environment', value: 'thrill' },
{ name: 'timestamp', value: timeStamp },
];
const headerArray = {};
Object.entries(headers).forEach(([, header]) => { headerArray[header.name] = header.value; });
const signer = new MessageSigner();
const signature = signer.getSignature('barrythrill', pathToSign, headers, []);
cy.request({
url: requestUrl,
method: 'GET',
headers: {
...headerArray,
'signature': signature,
},
failOnStatusCode: false,
log: true,
})
.then((response) => {
cy.log('resp', JSON.stringify(response));
});
});
and I would like to get the response to do some except tests. I wonder where should I put such a code as? Function in pageobject, command or ...?bitter-match-90736
07/04/2022, 10:21 AMadamant-midnight-76134
07/04/2022, 10:46 AMfresh-doctor-14925
07/04/2022, 10:56 AMviewport
is the resolution of the browser window within the virtual screen. I have mine set to 1500x1200, but the screenshot itself is still 720pbitter-match-90736
07/04/2022, 10:57 AMbitter-match-90736
07/04/2022, 10:59 AM