delightful-alligator-19846
11/27/2022, 12:52 PMdelightful-alligator-19846
11/27/2022, 12:52 PMfresh-doctor-14925
11/27/2022, 12:58 PMnutritious-analyst-96582
11/27/2022, 12:58 PMnarrow-optician-44716
11/27/2022, 2:52 PMshowSaveFilePicker
using Cypress.
Thanks in advance for your time.gray-kilobyte-89541
11/27/2022, 6:54 PMbig-spring-11836
11/27/2022, 10:47 PMadorable-smartphone-87280
11/27/2022, 11:00 PMgray-island-1435
11/28/2022, 4:02 AMadorable-smartphone-87280
11/28/2022, 4:39 AMlocalhost
was unreachable. Did you start your app before starting your tests?gray-island-1435
11/28/2022, 4:42 AMadorable-smartphone-87280
11/28/2022, 4:43 AMlocalhost
.adorable-smartphone-87280
11/28/2022, 4:44 AMtest
script? That doesn't look right.gray-island-1435
11/28/2022, 4:48 AMadorable-smartphone-87280
11/28/2022, 4:50 AMbaseUrl
set properly. Maybe try just visiting google.com instead of a `localhost`url?gray-island-1435
11/28/2022, 4:51 AMgray-island-1435
11/28/2022, 5:00 AMadorable-smartphone-87280
11/28/2022, 5:01 AMfresh-doctor-14925
11/28/2022, 6:31 AMnutritious-analyst-96582
11/28/2022, 6:31 AMcareful-toothbrush-49639
11/28/2022, 6:35 AMhappy-dinner-13480
11/28/2022, 9:02 AMdata-cy="someId
attribute based on a value coming from the back-end. We're now having a few issues with translations (database values have changed) and we're considering to changing how cypress selects an option.
We're considering to get a list of options, and then randomly select one (if no specific data-cy value is used), this way we don't have to worry about translations and changing names etc. any suggestions?gray-kilobyte-89541
11/28/2022, 12:32 PMhappy-dinner-13480
11/28/2022, 12:34 PMcold-bird-96191
11/28/2022, 12:39 PMfresh-doctor-14925
11/28/2022, 12:42 PMviewportWidth
and viewportHeight
cold-bird-96191
11/28/2022, 12:45 PMcold-bird-96191
11/28/2022, 12:47 PMfresh-doctor-14925
11/28/2022, 12:50 PMvictorious-summer-2999
11/28/2022, 3:57 PM"devDependencies": {
"@cypress/grep": "3.1.0",
cypress.config.ts
export default defineConfig({
...
e2e: {
...
setupNodeEvents(on, config) {
const pluginFile = require('../../plugins/index.ts');
require('cypress-grep/src/plugin')(config);
pluginFile(on, config);
return config;
},
},
});
plugins/index.ts
const registerCypressGrep = require('cypress-grep');
module.exports = (on, config) => {
// we register our plugin using its register method:
registerCypressGrep();