Spec failure in `spec/features/issues/user_interacts_with_awards_spec.rb` | User interacts with awards User interacts with awards in an issue toggles a custom award emoji
Job #2048318029 failed for 9acd4f8d:
Trace
Failures:
1) User interacts with awards User interacts with awards in an issue toggles a custom award emoji
Got 1 failure and 1 other error:
1.1) Failure/Error:
expect do
page.find('[data-testid="award-button"].selected').click
wait_for_requests
end.to change { page.all('[data-testid="award-button"]').size }.from(3).to(2)
expected `page.all('[data-testid="award-button"]').size` to have changed from 3 to 2, but did not change
# ./spec/features/issues/user_interacts_with_awards_spec.rb:68:in `block (4 levels) in <top (required)>'
# ./spec/features/issues/user_interacts_with_awards_spec.rb:63:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:408:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:395:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:395:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
http://127.0.0.1:33375/assets/webpack/dll.ec70a3c47929/vendor.dll.bundle.js 324144:14 "[Vue warn]: Error in mounted hook: \"TypeError: this.$el.querySelectorAll is not a function\"\n\nfound in\n\n---> \u003CDescription> at issues/show/components/description.vue\n \u003CApp> at issues/show/components/app.vue\n \u003CRoot>"
http://127.0.0.1:33375/assets/webpack/dll.ec70a3c47929/vendor.dll.bundle.js 325411:12 TypeError: this.$el.querySelectorAll is not a function
at VueComponent.renderTaskActions (webpack-internal:///UGsv:166:39)
at VueComponent.mounted (webpack-internal:///UGsv:109:12)
at invokeWithErrorHandling (http://127.0.0.1:33375/assets/webpack/dll.ec70a3c47929/vendor.dll.bundle.js:325378:57)
at callHook (http://127.0.0.1:33375/assets/webpack/dll.ec70a3c47929/vendor.dll.bundle.js:327738:7)
at Object.insert (http://127.0.0.1:33375/assets/webpack/dll.ec70a3c47929/vendor.dll.bundle.js:326661:7)
at invokeInsertHook (http://127.0.0.1:33375/assets/webpack/dll.ec70a3c47929/vendor.dll.bundle.js:329861:28)
at Vue.patch [as __patch__] (http://127.0.0.1:33375/assets/webpack/dll.ec70a3c47929/vendor.dll.bundle.js:330080:5)
at Vue._update (http://127.0.0.1:33375/assets/webpack/dll.ec70a3c47929/vendor.dll.bundle.js:327464:19)
at Vue.updateComponent (http://127.0.0.1:33375/assets/webpack/dll.ec70a3c47929/vendor.dll.bundle.js:327585:10)
at Watcher.get (http://127.0.0.1:33375/assets/webpack/dll.ec70a3c47929/vendor.dll.bundle.js:327998:25)
http://127.0.0.1:33375/api/v4/projects/29/issues/1/award_emoji/9007199254740990 - Failed to load resource: the server responded with a status of 404 (Not Found)
# ./spec/support/capybara.rb:200:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:408:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:399:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:395:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:31:in `with_raw_context'
# ./spec/spec_helper.rb:395:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'
The screenshot shows 2 awards though:
Edited by Rémy Coutable