From 4ca286f7c68156b2dbe6b5be2898c43c9ebe7e99 Mon Sep 17 00:00:00 2001 From: Shubham Sharma Date: Sat, 17 Feb 2024 10:41:55 +0530 Subject: [PATCH] Removed fetch test green button --- app/components/tasks.hbs | 14 -------------- tests/integration/components/tasks-test.js | 4 ++-- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/app/components/tasks.hbs b/app/components/tasks.hbs index f7329a3b..1872ab60 100644 --- a/app/components/tasks.hbs +++ b/app/components/tasks.hbs @@ -1,18 +1,4 @@
- {{#if @dev}} - {{#if @noInProgressTask}} -
-

You have no task in progress! click below to fetch tasks

- -
- {{/if}} - {{/if}} {{#if @tasksToShow.length}} {{#each @tasksToShow as |task|}}
diff --git a/tests/integration/components/tasks-test.js b/tests/integration/components/tasks-test.js index 89922d1e..9a76cd46 100644 --- a/tests/integration/components/tasks-test.js +++ b/tests/integration/components/tasks-test.js @@ -1,4 +1,4 @@ -import { module, test } from 'qunit'; +import { module, skip, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { find, render, waitUntil, fillIn } from '@ember/test-helpers'; import { hbs } from 'ember-cli-htmlbars'; @@ -17,7 +17,7 @@ module('Integration | Component | tasks', function (hooks) { assert.ok(this.element.textContent.trim().includes('tasks')); }); - test('there is a fetch task button if no in progress task are there', async function (assert) { + skip('there is a fetch task button if no in progress task are there', async function (assert) { this.setProperties({ onTaskChange: () => {}, onTaskUpdate: () => {},