remove wrongfully added attribute

fix/selector_for_board_specs
ulferts 3 years ago
parent d0bf36005a
commit 4df8a2b029
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 1
      frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.html
  2. 4
      modules/boards/spec/features/support/board_page.rb

@ -1,7 +1,6 @@
<div
class="op-wp-single-card"
data-qa-selector="op-wp-single-card"
[attr.data-qa-draggable]="draggable"
[ngClass]="cardClasses()"
>

@ -151,8 +151,8 @@ module Pages
def expect_movable(list_name, card_title, movable: true)
within_list(list_name) do
expect(page).to have_selector('[data-qa-selector="op-wp-single-card"]', text: card_title)
expect(page).to have_conditional_selector(movable, '[data-qa-selector="op-wp-single-card"][data-qa-draggable]', text: card_title)
expect(page).to have_selector('.op-wp-single-card', text: card_title)
expect(page).to have_conditional_selector(movable, '.op-wp-single-card_draggable', text: card_title)
end
end

Loading…
Cancel
Save