Skip to content

Commit 5b3130e

Browse files
committed
Update readme to remove cucumber references
1 parent 2e4226a commit 5b3130e

1 file changed

Lines changed: 5 additions & 24 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
[![Test Coverage](https://codecov.io/github/sanger/sequencescape/graph/badge.svg?token=Fsd7I0GYQf)](https://codecov.io/github/sanger/sequencescape)
77
[![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](https://sanger.github.io/sequencescape/)
88
[![Knapsack Pro Parallel CI builds for RSpec Tests](https://img.shields.io/badge/Knapsack%20Pro-Parallel%20%2F%20RSpec%20Tests-%230074ff)](https://knapsackpro.com/dashboard/organizations/1976/projects/1324/test_suites/1880/builds?utm_campaign=organization-id-1976&utm_content=test-suite-id-1880&utm_medium=readme&utm_source=knapsack-pro-badge&utm_term=project-id-1324)
9-
[![Knapsack Pro Parallel CI builds for Cucumber Tests](https://img.shields.io/badge/Knapsack%20Pro-Parallel%20%2F%20Cucumber%20Tests-%230074ff)](https://knapsackpro.com/dashboard/organizations/1976/projects/1324/test_suites/1881/builds?utm_campaign=organization-id-1976&utm_content=test-suite-id-1881&utm_medium=readme&utm_source=knapsack-pro-badge&utm_term=project-id-1324)
109

1110
Sequencescape is a cloud based and highly extensible LIMS system for use in labs with large numbers
1211
of samples.
@@ -64,7 +63,7 @@ a organisation of 900 people.
6463
- [MySQL errors when installing](#mysql-errors-when-installing)
6564
- [MySQL errors after system updates](#mysql-errors-after-system-updates)
6665
- [Installing on Apple Silicon (M1)](#installing-on-apple-silicon-m1)
67-
- [Cucumber / RSpec feature chromedriver issues](#cucumber--rspec-feature-chromedriver-issues)
66+
- [RSpec feature chromedriver issues](#rspec-feature-chromedriver-issues)
6867
- [API V2 Authentication](#api-v2-authentication)
6968
- [Documentation](#documentation-1)
7069
- [Publishing AMQP Messages](#publishing-amqp-messages)
@@ -297,7 +296,7 @@ These should not be committed to the github repo.
297296

298297
### Rails
299298

300-
Testing is done in one of three ways; using rspec, via rails tests or with cucumber.
299+
Testing is done in one of two ways; using rspec or via rails tests.
301300

302301
1. To run the rspec tests (found in `rspec/` dir.):
303302

@@ -317,24 +316,6 @@ Testing is done in one of three ways; using rspec, via rails tests or with cucum
317316
bundle exec ruby -Itest test/lib/label_printer/print_job_test.rb
318317
```
319318

320-
1. To run cucumber tests (found in `features/` dir.) first ensure you have a `sequencescape_test_cuke` database configured by running:
321-
322-
```shell
323-
RAILS_ENV=cucumber bundle exec rake db:setup
324-
```
325-
326-
then run cucumber itself:
327-
328-
```shell
329-
bundle exec cucumber
330-
```
331-
332-
For a single file:
333-
334-
```shell
335-
bundle exec cucumber features/create_plates.feature
336-
```
337-
338319
#### Rspec feature tests with javascript
339320

340321
Where feature tests require javascript, these must be specifically tagged with `:js` to enable the Capybara javascript driver.
@@ -555,7 +536,7 @@ If installation issues are encountered with Docker on M1 processors, try the fix
555536

556537
[[GitHub issue](https://github.com/evilmartians/terraforming-rails/issues/34#issuecomment-872021786)]
557538

558-
#### Cucumber / RSpec feature chromedriver issues
539+
#### RSpec feature chromedriver issues
559540

560541
If you encounter Selenium/Chromedriver issues locally it may be because the latest version of Chrome is yet to be supported by our testing libraries (Capybara). This may require a fix to the `Capybara.rb` file, e.g. new driver arguments. In the case the fix is not identifiable you made need to rely on a pinned version of Chrome in the CI to run these tests, see [Chromedriver issues](#chromedriver-issues) below for further instructions.
561542

@@ -596,11 +577,11 @@ This isn't necessary at this stage, but it seems wise to note the intended patte
596577

597578
### CI
598579

599-
The GH actions builds use the Knapsack-pro gem to reduce build time by parallelizing the RSpec and Cucumber tests. There is no need to regenerate the knapsack_rspec_report.json file, Knapsack Pro will dynamically allocate tests to ensure tests finish as close together as possible.
580+
The GH actions builds use the Knapsack-pro gem to reduce build time by parallelizing the RSpec tests. There is no need to regenerate the knapsack_rspec_report.json file, Knapsack Pro will dynamically allocate tests to ensure tests finish as close together as possible.
600581

601582
#### Chromedriver issues
602583

603-
If you encounter CI failures for cucumber and rspec feature tests it may be caused by our CI GitHub runner being on the latest version of Chrome while our testing libraries are yet to support it. To fix this, you can pin the version of Chrome in the CI to an older, known working version. This can be done in the `.github/workflows/ruby_test.yml` workflow under `Setup stable Chrome`. If this is required ensure you revert the change once the testing libraries are updated.
584+
If you encounter CI failures for rspec feature tests it may be caused by our CI GitHub runner being on the latest version of Chrome while our testing libraries are yet to support it. To fix this, you can pin the version of Chrome in the CI to an older, known working version. This can be done in the `.github/workflows/ruby_test.yml` workflow under `Setup stable Chrome`. If this is required ensure you revert the change once the testing libraries are updated.
604585

605586
### ERD
606587

0 commit comments

Comments
 (0)