Skip to content

Conversation

kirbycope
Copy link
Owner

@kirbycope kirbycope commented Mar 21, 2024

Interview Exercise

Welcome to the Capital Group technical interview take-home exercise. We recognize that your time is valuable, so we greatly appreciate you making the investment. There are no trick questions here, just a straightforward (and hopefully engaging) exercise that represents a typical test automation problem solved at work.

Expectations

We expect that this exercise will take a maximum of a few hours.

You will have a few days between receiving this exercise and the due date. Feel free to take your time, digest the problem and work at a pace and style that is suitable to you and your schedule.

We expect you to write code that you are proud of. This is not a race to see who can complete the exercise the fastest or in the fewest lines of code. Strive for your code to be of similar style and quality to your daily professional work. Imagine you are submitting a pull request to your team members to review and approve.

There are no constraints on strategies, methodologies, or patterns. Feel free to use any approach you find appropriate.

Please use “Playwright” as a test framework and JS/TS as a language.

Exercise

Imagine you need to write an automated test with the following steps:

  1. Typescript React Shopping cart (react-shopping-cart-67954.firebaseapp.com)
  2. Select size "L".
  3. Note the price of a "Grey T-shirt" card.
  4. Click "Add to a cart" for "Grey T-shirt".
  5. Check that "Cart" drawer appears.
  6. Check that selected item appears, it has correct name, size, description, quantity, and price matches to step 3.
  7. Check that "Subtotal" matches to step 3.
  8. Click "Checkout" and check that the popup appears.

image

@kirbycope kirbycope self-assigned this Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant