Commit 9d3ff990 authored by Donald Cook's avatar Donald Cook

Removed deprecated qa-* class

parent 91e4749a
...@@ -116,7 +116,7 @@ export default { ...@@ -116,7 +116,7 @@ export default {
<input <input
ref="service-desk-incoming-email" ref="service-desk-incoming-email"
type="text" type="text"
class="form-control qa-incoming-email" class="form-control"
data-testid="incoming-email" data-testid="incoming-email"
:placeholder="__('Incoming email')" :placeholder="__('Incoming email')"
:aria-label="__('Incoming email')" :aria-label="__('Incoming email')"
......
...@@ -28,6 +28,6 @@ RSpec.describe 'Service Desk Setting', :js do ...@@ -28,6 +28,6 @@ RSpec.describe 'Service Desk Setting', :js do
project.reload project.reload
expect(project.service_desk_enabled).to be_truthy expect(project.service_desk_enabled).to be_truthy
expect(project.service_desk_address).to be_present expect(project.service_desk_address).to be_present
expect(find('.qa-incoming-email').value).to eq(project.service_desk_address) expect(find('[data-testid="incoming-email"]').value).to eq(project.service_desk_address)
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment