From 4b29fd954304556644e82343e562473a426fd5ef Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Mon, 18 Nov 2024 19:51:32 +0100 Subject: [PATCH] test: Remove test for deprecated/removed Grails Filters (#267) Grails Filters support was deprecated and removed in Grails 3.2 (see commit f370b49). Since this functionality is no longer available, the corresponding test is now removed. --- .../groovy/app2/FiltersFunctionalSpec.groovy | 31 ------------------- 1 file changed, 31 deletions(-) delete mode 100644 app2/src/integration-test/groovy/app2/FiltersFunctionalSpec.groovy diff --git a/app2/src/integration-test/groovy/app2/FiltersFunctionalSpec.groovy b/app2/src/integration-test/groovy/app2/FiltersFunctionalSpec.groovy deleted file mode 100644 index 4525469d..00000000 --- a/app2/src/integration-test/groovy/app2/FiltersFunctionalSpec.groovy +++ /dev/null @@ -1,31 +0,0 @@ -package app2 - -import grails.plugin.geb.ContainerGebSpec -import grails.testing.mixin.integration.Integration -import spock.lang.PendingFeature - -@Integration(applicationClass = Application) -class FiltersFunctionalSpec extends ContainerGebSpec { - - @PendingFeature(reason = 'pageSource does not contain the value') - void 'test before filter'() { - when: - go '/filtersDemo/index' - - then: - driver.pageSource.contains 'Filter Ran: yes.' - - // TODO: Why doesn't this work?... - // $().text() == 'Filter Ran: yes.' - } - - @PendingFeature(reason = 'part of text is missing') - void 'test after filter'() { - when: - go '/filtersDemo/data' - - then: - $('h2', 0).text() == 'Company Name: OCI' - $('h2', 1).text() == 'Company City: St. Louis' - } -}