Skip to content

Commit 815b8b5

Browse files
author
Lukas Nys
committed
remove now irrelevant test (#882)
we're no longer hiding the link icon until the header is hovered, which makes this test irrelevant
1 parent d6f4ca9 commit 815b8b5

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

tests/integration/components/class-field-description-test.js

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@
22
import EmberObject from '@ember/object';
33
import { module, test } from 'qunit';
44
import { setupRenderingTest } from 'ember-qunit';
5-
import {
6-
render,
7-
click,
8-
findAll,
9-
find,
10-
triggerEvent,
11-
} from '@ember/test-helpers';
5+
import { render, click, findAll, find } from '@ember/test-helpers';
126
import hbs from 'htmlbars-inline-precompile';
137

148
module('Integration | Component | class field description', function (hooks) {
@@ -37,29 +31,6 @@ module('Integration | Component | class field description', function (hooks) {
3731
assert.dom(findAll('.args')[0]).hasText('(param1, param2, param3)');
3832
});
3933

40-
test('On hover -- the link icon shows up', async function (assert) {
41-
this.set('type', 'method');
42-
this.set(
43-
'field',
44-
EmberObject.create({
45-
access: 'public',
46-
deprecated: true,
47-
name: 'concat',
48-
description: 'concatenates',
49-
params: [{ name: 'param1' }, { name: 'param2' }, { name: 'param3' }],
50-
})
51-
);
52-
53-
await render(
54-
hbs`<ClassFieldDescription @type={{this.type}} @field={{this.field}}/>`
55-
);
56-
57-
await triggerEvent('.class-field-description--link', 'mouseenter');
58-
assert
59-
.dom('.class-field-description--link-hover')
60-
.exists('The link icon appears when hovering on the method text');
61-
});
62-
6334
test('it calls the provided action on link-click with the field name as an arg', async function (assert) {
6435
this.set('updateAnchor', (name) => {
6536
assert.equal(

0 commit comments

Comments
 (0)