Skip to content

First Episode #8

Open
Open
@IonFoXx

Description

@IonFoXx

Hi expect(Exception) Crew,

first of all, thank you for providing this awesome kind of podcast. I was half way through the first episode and got immediately hooked on the topic.
I've been using cypress a few times for all kind of differently sized projects and found it awesome to work with and would definitely recommend it at least to giving it a try. It is also very easy to integrate into a CI / CD pipeline.

On the topic of E2E testing though I have a few things that I never found a good answer for. So maybe you can help me and others out with those.

Topic 1 - Large Test Setups:
What are your recommendations about large websites and E2E Testing. I always find it kind of hard to provide the correct test setup for those E2E tests.
As an example lets say you have a 1 TB ElasticSearch Cluster and need to restore it to do the E2E tests and keep it at least up to date every now and than. A restore could take hours before the test could even start. Not even talking about the resources need to run the tests. It also seems that the tests get very generic as the provided test data changes every now and than. Would you recommend to only restore a subset or create a test data set that covers most of the cases. But that than sounds like mocking and I think Dave, I hope I got the name correctly, meant it would be better to test with a correct "real" setup.

Topic 2 - Test Security and Setup:
What about third party systems where you would need to provide API Keys to access the data. Where to store those information how inject them into the test setup?

Topic 3 - 3rd Party Tools:
More complicated flows where third party tools, not in your control, are involved are getting very complicated. For example registration forms where an email is send to the a mail box and the account needs to be verified with a token. Are there any recommendations?
I tried this once and got it working by using a JSON based mailbox and parse the verification link out of the email. Was working great than but are there any better solutions?

Topic 4 - Device Tests vs. E2E Tests:
You also mentioned the lack of device variety in Cypress. As far as I understand E2E tests, there is no need to test all possible devices and browsers. For those kind of test you should run automated device tests provided through tools like BrowserStack aso. Is this correct, are there recommendations or would you say that an E2E Test needs to include a wide device variety otherwise it is no real E2E test.

As said before awesome topic you picked for creating a podcast with it so keep going!

Best regards,
Helmuth

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions