Skip to content

Conversation

@anthonyfabius
Copy link
Contributor

Pull Request

Description

This PR is a functioning version of our puppeteer test suite. It adds a new github actions for testing and uses our job application form to test autofill functionality. In the future we can expand this to work for a random list of job applications. It will take a little more work but this is fine for now. As for dependencies I added puppeteer to package.json so when this is merged into main everyone will need to npm install the new node modules.

Closes #33

Type of change

  • Bug fix (change which fixes an issue)
  • Enhancement (change which alters existing functionality)
  • New feature (change which adds new functionality)
  • This change requires a wiki/documentation update

How Has This Been Tested?

I ran the scripts using my own docker container and act. They passed... sometimes.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Added puppeteer dependencies to package.json. Also updated the git ignore.
Added workflow yaml and a basic puppeteer script for the start of the puppeteer test suite.
@anthonyfabius anthonyfabius added enhancement Enhance existing feature dependencies Pull requests that update a dependency file labels Sep 29, 2023
Realized that when I run node test.js to run the puppeteer script I altered the json package which in turn messed up the build. So just reversing that change and making test a mjs file
Getting rid of some stuff we don't need.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement Enhance existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement Request] Puppeteer Tests

2 participants