Giter Site home page Giter Site logo

e2e_testing_assignment's People

Contributors

andesjavierleon avatar htenezaca avatar muniter avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

e2e_testing_assignment's Issues

Plans for VRT - Week 6

TODO (Internal process)

Para hacer trabajo de regresión visual correremos dos versiones, 4.35 y la 4.41.

Entre estas dos versiones hay una cantidad considerable de regresión visual pero nuestros test pasan en su gram mayoría. Solo los siguientes se deben arreglar:

Ambas:

P: Playwright
K: Kraken

  • (P, K) Hacer el setup (primer login) del sitio (la interfaz es un tanto distinta).
  • (P, K) Delete member
  • (P) Filter member remove label

Refactors:

  • Extract setup logic to be shared between versions.
  • Try to save the session cookie instead of login every time or handle it by otherwise

New features

  • Seed faker (maybe share it) to always produce the same output essential for VRT
  • Environment must be the same for both runs now, so order of tests is needed, otherwise clean database wipe for every test case. (maybe worth wiping to keep the parallel execution of playywright?, or meh not worth it?)
  • For this use case perhaps docker should be preferred It's so easy to dispose, if we are all using Linux.

Reports

  • Investigate how playwright and when does it take screenshots, the steps in which it takes the screenshot might be needed, a good guide could be de feature files steps, take a screenshot in each.

  • Make both share the same interface, for example in each step it tracks a screenshot, a URL, etc ideally to produce something like:

{
  "scenario": "Create a member",
  "ghost_version": 4.41,
  "steps": [
    "login": {
      "url": "http://something",
      "image": "/path/to/bla/bla/login.png"
    },
    "create member open": {
      "url": "http://something",
      "image": "/path/to/bla/bla/create member open.png"
    }
  ]
}

So we make both Ghost and Playwright produce the same output at the end, and the comparison tool we use then processes them the same exact way.

CC: @htenezaca @Andesjavierleon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.