spreewald 2.9.0 → 2.99.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 05a2f0dc08e4a044c5da09e999a488eeeab8d0ef21fd26fccf9306651e27d6ba
4
- data.tar.gz: bc1753072141059f502b634a9a7347e63c602a072bc04f2a9aaf73a98ebd9eca
3
+ metadata.gz: 8e40a203a4efe394c63dfe3513bcbee6fd9b2c03adeb6a2da742083f8e1916db
4
+ data.tar.gz: a3607b851a21bbed752f0abcb07a0f492efeb03d7bcf9dab65df2ee4049fbd30
5
5
  SHA512:
6
- metadata.gz: 0b59488dcad4d0e94203fdc4b28463f69b6ccf93011f42c19dbc84582f0cca5e988a1b69c5f74520142198023dda9362e60c595d58a1bdc5abdde5b8a9e093ab
7
- data.tar.gz: f324ae1ccd2ee7dbe97a71c4fbf614cd6888dd91846b42d2d60d900ae085413e6da55669d58ebe8275519354f10cf1a2826c5ef08323f30140d756572143dc76
6
+ metadata.gz: 44e4db7d78e098e62fde16d7c912dd761384fde5d131d3dc9b92c7ff960ef60b36e284b9aba8f125ae61c1a36ba9a05c73715b39ae36ec735e285f8eae76baef
7
+ data.tar.gz: cabe0d013bdbeebd4e250ea73437e15b8de88bca1bfdb6d331fb9521ecda26d8f8fe74e7e7f8e4f150bec938c8d6099cc17823b09f7bf97650021a7cca2d9398
@@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file.
3
3
 
4
4
  This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## 2.99.0
7
+ - The following steps were deprecated and will be removed in the upcoming major version:
8
+ - `/^the "([^"]*)" field should have no error$/` (see [#134](https://github.com/makandra/spreewald/issues/134))
9
+ - `/^I should get a text response$/` (see [#135](https://github.com/makandra/spreewald/issues/135))
10
+ - `/^I wait for the page to load$/` (see [#136](https://github.com/makandra/spreewald/issues/136))
11
+ - The step `and disabled` modifier of the step `/^the "([^"]*)" checkbox should( not)? be checked( and disabled)?$/` has been deprecated.
12
+
6
13
  ## 2.9.0
7
14
  - The step `an email should have been sent with:` does now support wildcards (`*` at the end of a line to ignore the rest of the line, `*` as single character in a line to ignore multiple lines). The step also has better error messages if an email could not be found.
8
15
  - The step `show me the emails` got an option to display only the email headers. Additionally, a new step `show me the email( header)?s with:` has been created to only show a subset of all sent emails, with a syntax similar to `an email should have been sent with:`.
@@ -69,7 +76,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
69
76
  * It can now be composed with the 'within' step
70
77
  * It can now truly match negative numbers
71
78
  * It dropped the hidden dependency on the HTMLEntities gem
72
- * Fix URLs to the GitHub repository of Spreewald as part of the `_path_to` and `_selector_for` error handling. (see issue [#82](https://github.com/makandra/spreewald/issues/82))
79
+ * Fix URLs to the GitHub repository of Spreewald as part of the `_path_to` and `_selector_for` error handling. (see issue [#82](https://github.com/makandra/spreewald/issues/82))
73
80
 
74
81
  ## 2.2.0
75
82
  - Add a new step `I should( not)? see a link labeled "STRING"`.
@@ -102,7 +109,7 @@ The "it should work" step now takes an optional reason.
102
109
  The word "within" can now be used in arguments for other steps without causing errors ([Issue #53](https://github.com/makandra/spreewald/issues/80))
103
110
 
104
111
  ## 1.12.3
105
- Prevent wall of warnings when `Then console` is used multiple times in on test run ([issue](https://github.com/makandra/spreewald/issues/80))
112
+ Prevent wall of warnings when `Then console` is used multiple times in on test run ([issue](https://github.com/makandra/spreewald/issues/80))
106
113
 
107
114
  ## 1.12.2
108
115
  Always check the current driver by its class (see [issue](https://github.com/makandra/spreewald/issues/74))
@@ -116,4 +123,3 @@ Always check the current driver by its class (see [issue](https://github.com/mak
116
123
  ## 1.11.6 2018-08-28
117
124
  - Added CHANGELOG
118
125
  - Replaced `field_labeled` with `find_field` (https://github.com/teamcapybara/capybara/blob/master/History.md#removed)
119
-
@@ -397,6 +397,7 @@ Then /^the "([^\"]*)" field should( not)? have an error$/ do |label, negate|
397
397
  end.overridable
398
398
 
399
399
  Then /^the "([^"]*)" field should have no error$/ do |field|
400
+ warn 'The step /^the "([^"]*)" field should have no error$/ is deprecated and scheduled for removal. Use the step /^the "([^\"]*)" field should( not)? have an error$/ instead.'
400
401
  patiently do
401
402
  element = find_field(field)
402
403
  classes = element.find(:xpath, '..')[:class].split(' ')
@@ -408,6 +409,10 @@ end.overridable
408
409
  Then /^the "([^"]*)" checkbox should( not)? be checked( and disabled)?$/ do |label, negate, disabled|
409
410
  expectation = negate ? :not_to : :to
410
411
 
412
+ if disabled
413
+ warn 'The step /^the "([^"]*)" checkbox should( not)? be checked( and disabled)?$/ will lose the `and disabled` modifier in Spreewald 3. In that version, the step will find a checkbox regardless of whether it is disabled.'
414
+ end
415
+
411
416
  patiently do
412
417
  field = if Spreewald::Comparison.compare_versions(Capybara::VERSION, :<, "2.1")
413
418
  find_field(label)
@@ -618,6 +623,7 @@ end.overridable
618
623
 
619
624
  # Checks that the result has content type `text/plain`
620
625
  Then /^I should get a text response$/ do
626
+ warn 'The step /^I should get a text response$/ is deprecated and scheduled for removal. Use `I should get a response with content-type "text/plain"` instead.'
621
627
  step 'I should get a response with content-type "text/plain"'
622
628
  end.overridable
623
629
 
@@ -709,6 +715,7 @@ end.overridable
709
715
  #
710
716
  # More details [here](https://makandracards.com/makandra/12139-waiting-for-page-loads-and-ajax-requests-to-finish-with-capybara).
711
717
  When /^I wait for the page to load$/ do
718
+ warn 'The step /^I wait for the page to load$/ is deprecated and scheduled for removal. Please see https://github.com/makandra/spreewald/issues/136'
712
719
  if javascript_capable?
713
720
  patiently do
714
721
  # when no jQuery is loaded, we assume there are no pending AJAX requests
@@ -1,3 +1,3 @@
1
1
  module Spreewald
2
- VERSION = '2.9.0'
2
+ VERSION = '2.99.0'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (2.9.0)
4
+ spreewald (2.99.0)
5
5
  cucumber
6
6
  cucumber_priority (>= 0.3.0)
7
7
  rspec (>= 2.13.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (2.9.0)
4
+ spreewald (2.99.0)
5
5
  cucumber
6
6
  cucumber_priority (>= 0.3.0)
7
7
  rspec (>= 2.13.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (2.9.0)
4
+ spreewald (2.99.0)
5
5
  cucumber
6
6
  cucumber_priority (>= 0.3.0)
7
7
  rspec (>= 2.13.0)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- spreewald (2.9.0)
4
+ spreewald (2.99.0)
5
5
  cucumber
6
6
  cucumber_priority (>= 0.3.0)
7
7
  rspec (>= 2.13.0)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreewald
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.99.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Kraze
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber