Skip to content

Instantly share code, notes, and snippets.

View QA ASSIGNMENT.md

O4S QA ASSIGNMENT

About this test

The purpose of this is to see how would you write test scenarios and automate them. Do it like it was for real. Follow your code conventions but make it coherent through all the code you write. You can find the details of the assignment here: https://github.com/digitalorigin/pg-qa-assignment#feature-2-test-automation-of-a-json-api Instructions regarding runnning the service are in the link above along with api documentation and constraints.

Delivery

  • You are expected to share code hosted on a public repository at Github
  • You will provide necessary, build and run instructions along with your source code. We will be strictly following your instructions and a build failure or missing dependency issues will lead to a deduction in points or complete rejection of the submission.
  • You can assume your code will be run on a Ubuntu 16.04 machine, if you are using non-standard system level dependencies then please mention installation instructions.
@original4sure
original4sure / scan-in-api.md
Last active Aug 9, 2019
API to scan products (single or bulk) and get scan results.
View scan-in-api.md

Request

URL: http://localhost:3001/supplytics/products/scanin

headers:

authToken: eyJhbG1NiIsInR5cCI6IkpXVCJ9.eyJsZXZlbCI6NCicGhvbmVOdW1iZXIiOiIrMTMyNzgxMjM5Nzg5NzgxMjM3OTgiLCJkZXZpY2VJZCI6Ik5hdmlzaW9uIn0.Gogge1r4YSi3QETUt78zMniPdLB9BBihqE Content-Type: application/json

body:

@original4sure
original4sure / scan-logs-api.md
Last active Aug 9, 2019
API (paginated) to fetch scan logs for a given user in chronological order (latest first)
View scan-logs-api.md
@original4sure
original4sure / web-front-end-assignment.md
Created Mar 12, 2019
Take home hiring assignment for front-end engineer.
View web-front-end-assignment.md

Create an offline TODO app for the browser using ReactJS/VueJS/VanillaJS.

Key Features to Implement:

  • A simple input bar to add Todo(s) on pressing the return-key.
  • A list of TODO cards where each todo is appended on creation.
  • Clicking on a TODO card should mark the TODO as complete and move it to the bottom of the list.
  • The active TODO cards should appear in order of creation (most recent on top), while the completed todo cards should appear in order of completion (most recent on top).
  • A reset button on the top right corner of the App to clear all Todo(s) and return to initial state.
  • Hitting the refresh button (including hard refresh) in the browser should not cause any change in the state of the app (it should work like a regular offline app).
  • Create a Hash-tag feature: