Skip to content

Onboarding

Aaron Mauchley edited this page Jan 19, 2023 · 18 revisions

Nala Automation Structure

In a general sense, the Nala project's goal was to provide a solution that developers could understand quickly with an as little amount of overhead as possible. To this end, dependencies for the project are minimal as well as file configuration and test setup.

When you first install Playwright and check out Nala out-of-the-box configurations are already set up in order to quickly get going with development. For further discussion on configuration options and definitions, you can see Playwright's documentation.

The overall folder structure is as follows:

\nala
  ┣━ \envs 
  ┣━ \features
  ┣━ \selectors
  ┣━ \tests
  ┗━ \utils

The following sections will explain each.

Environments

Nala handles environments for different domain path testing by the use of the envs.js file. All site environment domains that need to be tested across different test files should be housed under the /envs/envs.js file.

Features

Selectors

Tests

Setting up your development environment

Creating a simple Test

Running Tests

Clone this wiki locally