Coder Social home page Coder Social logo

pintuta's Introduction

Pintu Technical Assessment

UI_Test_Flows

*All test cases are saved in a folder named auth with the file extension .yaml

  • inside the .yaml file will contain test cases, test steps, test elements I inspect from the mobile interface of the app

*Besides, I have written 2 scripts located in the UI_testtFlows/scripts folder to generate test data for login and registration functions. To run all test cases we do the following

cd UI_testFlows/auth

  • and run the following command maestro test main.yaml

  • if you want to run any test flow, just simply change name file main.yaml to any test flow others for example: maestro test ValidData-Register-Function.yaml and finally to export the report we can run the following command maestro test --format junit UI_testFlows/auth ref https://maestro.mobile.dev/cli/test-suites-and-reports

  • please see how i run it with this video: https://youtu.be/jvWBlF_qybI

API_Test_Flows

  • API testing, I get it in the directory API_test Flows/tests

  • I use playwright test tool to run tests and manage reports see more on this website https://playwright.dev/docs/api-testing

  • I write 2 test cases inside the tests folder corresponding to 2 methods Get and Post as required

  • run the test as follows:

cd API_testFlows/tests

then

npx playwright test to run all test cases with filename containing *.spect.js

  • Or npx playwright test testcases_filename to run each file

  • And finally to display the report

you use this command npx playwright show-report

pintuta's People

Contributors

anhquancom avatar qastellalab avatar

Watchers

 avatar

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.