Skip to content

Conversation

@Trawlnetter
Copy link

@Trawlnetter Trawlnetter commented Dec 23, 2025

CONTRIBUTING.md says not to break the Selenium tests in the tests directory, but I noticed that the first Selenium test case didn't work, presumably because it relied on links in the top bar that no longer exist when the user is logged out.

I fixed the test case by making it access the webpages for those links directly. It was checking that a logged-out user wouldn't be able to access any of them, and I kept that in, but the test case no longer uses the top bar to navigate.

I renamed the test to "Top Bar When Logged Out" in fitting with its new purpose.

In addition, the documentation in test/README.md lacked some important information about the Selenium IDE addon, which is no longer available on Chrome, and requires an additional addon to use with Firefox for security reasons. I've added this information.

I also fixed a typo in the CONTRIBUTING.md file, which referred to the test folder as tests.

I don't know if anyone actually uses the Selenium tests, since there are only three of them, after all, and they really don't cover much. I haven't really used them myself. But it would be better to have all three of those tests working.

Update the README to reflect new changes to
the compatibility of the Selenium IDE addon with Firefox
and Chrome, and add new instructions.
The first Selenium test case didn't work, presumably
because it relied on links in the top bar
that no longer exist when the user is logged out.

I fixed the test case by making it access the webpages
for those links directly. It was checking that a logged-out
user wouldn't be able to access any of them, and I kept
that in, but the test case no longer uses the top bar to navigate.

I renamed the test to "Top Bar When Logged Out" in fitting
with its new purpose.
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