Commit Graph

14324 Commits

Author SHA1 Message Date
Carlo Costino
34d20c4d65 Trying to get landing page test working again
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 16:53:39 -05:00
Carlo Costino
e71351d949 Add E2E documentation and clean E2E tests
This changeset adds additional documentation for how to write new E2E tests and cleans up the two existing tests slightly to make better use of the fixtures that are defined.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 16:02:16 -05:00
Carlo Costino
15c1863ab0 Merge pull request #772 from GSA/re-enable-e2e-actions
Re-enable E2E GitHub action and get end-to-end tests working
2024-02-23 15:16:08 -05:00
Carlo Costino
fadb8094f6 Merge pull request #1064 from GSA/dependabot/pip/notifications-python-client-9.0.0
Bump notifications-python-client from 8.2.0 to 9.0.0
2024-02-23 14:43:28 -05:00
dependabot[bot]
25646c2e2f Bump notifications-python-client from 8.2.0 to 9.0.0
Bumps [notifications-python-client](https://github.com/alphagov/notifications-python-client) from 8.2.0 to 9.0.0.
- [Changelog](https://github.com/alphagov/notifications-python-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/alphagov/notifications-python-client/compare/8.2.0...9.0.0)

---
updated-dependencies:
- dependency-name: notifications-python-client
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 17:18:04 +00:00
Carlo Costino
ffba252773 Merge pull request #1065 from GSA/dependabot/pip/flake8-7.0.0
Bump flake8 from 6.1.0 to 7.0.0
2024-02-23 12:11:11 -05:00
dependabot[bot]
c71a7edcfe Bump flake8 from 6.1.0 to 7.0.0
Bumps [flake8](https://github.com/pycqa/flake8) from 6.1.0 to 7.0.0.
- [Commits](https://github.com/pycqa/flake8/compare/6.1.0...7.0.0)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 17:01:47 +00:00
Carlo Costino
8e176d5cf5 Merge pull request #1131 from GSA/dependabot/pip/vulture-2.11
Bump vulture from 2.10 to 2.11
2024-02-23 11:55:24 -05:00
dependabot[bot]
673df7da3d Bump vulture from 2.10 to 2.11
Bumps [vulture](https://github.com/jendrikseipp/vulture) from 2.10 to 2.11.
- [Release notes](https://github.com/jendrikseipp/vulture/releases)
- [Changelog](https://github.com/jendrikseipp/vulture/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jendrikseipp/vulture/compare/v2.10...v2.11)

---
updated-dependencies:
- dependency-name: vulture
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 16:50:02 +00:00
Carlo Costino
5c0cd73d91 Merge pull request #1205 from GSA/dependabot/pip/black-24.2.0
Bump black from 23.12.1 to 24.2.0
2024-02-23 11:43:59 -05:00
Carlo Costino
4741b381c2 Adjusting authenticated page fixture
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:39:14 -05:00
dependabot[bot]
d0c4b505b9 Bump black from 23.12.1 to 24.2.0
Bumps [black](https://github.com/psf/black) from 23.12.1 to 24.2.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.12.1...24.2.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 16:35:56 +00:00
Carlo Costino
0a8794966e Merge pull request #1229 from GSA/dependabot/pip/coverage-7.4.2
Bump coverage from 7.4.0 to 7.4.2
2024-02-23 11:33:53 -05:00
Carlo Costino
4180dca164 Last bits of cleanup with pytest configuration for E2E tests
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:24:03 -05:00
dependabot[bot]
b50fe24c52 Bump coverage from 7.4.0 to 7.4.2
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.4.0 to 7.4.2.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.4.0...7.4.2)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 16:14:06 +00:00
Carlo Costino
9c392bca78 Switch E2E test command to use Makefile
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:38 -05:00
Carlo Costino
7259d617ee Actually disable webkit in CI/CD E2E tests
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:38 -05:00
Carlo Costino
fd5cd36959 Remove webkit testing for now
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:38 -05:00
Carlo Costino
3a6eeb2292 Swapping API back to development environment
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:38 -05:00
Carlo Costino
bd41dfc1c2 Attempting to get E2E work with local API
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:37 -05:00
Carlo Costino
534daa2d82 Attempting to match local E2E config with CI/CD
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:37 -05:00
Carlo Costino
c790d8b844 Added some additional environment variables to E2E command
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:37 -05:00
Carlo Costino
719ecfe8f6 Modified E2E test job environment
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:37 -05:00
Carlo Costino
1b6446e213 Added a new E2ETest config and adjusted a couple of things
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:37 -05:00
Carlo Costino
29c20a0ee9 Trying to see if New Relic needs to be in place
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:37 -05:00
Carlo Costino
5aacdcbc35 Slight adjustments to make sure no typos are present
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:36 -05:00
Carlo Costino
c2e7b4897d Adjusting a couple of other environment variables
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:36 -05:00
Carlo Costino
136403a263 Adding a couple more missing env vars for the admin server
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:36 -05:00
Carlo Costino
aec20b5e73 Add API access to Admin server
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:36 -05:00
Carlo Costino
95bdd335eb Changing back to staging API; trying to get E2E auth working
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:36 -05:00
Carlo Costino
87ca03f6d8 Switch back to using the API locally in the CI/CD job
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:36 -05:00
Carlo Costino
9987946f92 Trying one more environment variable for auth
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:35 -05:00
Carlo Costino
e8e23e3ac0 A little more cleanup
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:35 -05:00
Carlo Costino
997aa8e72f Added missing environment variables for the server process
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:35 -05:00
Carlo Costino
c652c17617 Clean up and fix the E2E tests so that they run
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:35 -05:00
Carlo Costino
46be3cd7b3 Add a missing slash in the test URI
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:35 -05:00
Carlo Costino
2201c16a2b Now try to run the E2E tests!
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:35 -05:00
Carlo Costino
84559e0574 Switch Admin site environment to development
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:34 -05:00
Carlo Costino
b9a7e48e78 Attempting to work against staging API
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:34 -05:00
Carlo Costino
558296684c Attempting to run actual E2E tests again to see real errors
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:34 -05:00
Carlo Costino
3ba9a85845 Adjusting API environment to development
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:34 -05:00
Carlo Costino
57cd123f4e Adding Redis for running the API
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:34 -05:00
Carlo Costino
6b98cf7c35 Reverting previous change of the DB name
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:34 -05:00
Carlo Costino
91527f32f2 Changing DB name to match Makefile bootstrap command
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:33 -05:00
Carlo Costino
9c32fa2d4e Adding in missing DATABASE_URL environment variable
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:33 -05:00
Carlo Costino
b60dc00f0e A bit of cleanup and debugging comment to resume after holidays!
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:33 -05:00
Carlo Costino
92b33834e8 Trying to discern if there is a difference in local URLs
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:33 -05:00
Carlo Costino
5e7319cbac Testing to see if we can connect to the local server.
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:33 -05:00
Carlo Costino
d544d7c8f8 Now trying to run the Admin server with PR code...
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:33 -05:00
Carlo Costino
b8b330f55b Attempting to get API up and running
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-02-23 11:09:32 -05:00