magento2-cypress-testing-suite icon indicating copy to clipboard operation
magento2-cypress-testing-suite copied to clipboard

Refactor & cleanup Luma Account tests & objects

Open gregor-RW opened this issue 3 years ago • 3 comments
trafficstars

Running the tests on a different CI with smaller resources, I've noticed a few issues around:

  • sessions being lost (from cypress doc: Cypress automatically clears all cookies before each new test starts by default.)
  • multiple addresses being added while running the whole batch
  • some code cleanup to make sure to use proper selectors where possible
  • added region/state selectors for the address

gregor-RW avatar Oct 02 '22 15:10 gregor-RW

@peterjaap I modified the details for Luma and for some reason Hyva is failing. Since I don't have access to Hyva to fix it, I can't proceed here. Maybe the whole refactor doesn't make sense to you, so feel free to reject the whole thing.

gregor-RW avatar Oct 02 '22 15:10 gregor-RW

I don't think the luma failures are related to these changes.

Vinai avatar Oct 02 '22 15:10 Vinai

@Vinai I'm only seeing Hyva failures, not Luma. Am I missing something?

gregor-RW avatar Oct 02 '22 15:10 gregor-RW