-
Notifications
You must be signed in to change notification settings - Fork 3
Create functional tests #45 #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Farcasut
wants to merge
133
commits into
xwikisas:main
Choose a base branch
from
Farcasut:functionalTests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 132 commits
Commits
Show all changes
133 commits
Select commit
Hold shift + click to select a range
17df15d
Move Most Viewed Pages Macro to livetable #10
Farcasut bddfed8
Move Most Viewed Pages Macro to livetable #10
Farcasut 2225294
Added the structure for the config
Farcasut fd80f1c
Implmentation
Farcasut 14d7b5e
Move Most Viewed Pages Macro to livetable #10
Farcasut 1b631dd
Merge branch 'main' into livetable
Farcasut 981005c
Move Most Viewed Pages Macro to livetable #10
Farcasut 1ead551
Move Most Viewed Pages Macro to livetable #10
Farcasut 25a3094
[MISC FIX] Indentation
Farcasut ab29104
[MISC FIX] Comments
Farcasut b6ef7ac
Move Most Viewed Pages Macro to livetable #10
Farcasut 0298a67
Move Most Viewed Pages Macro to livetable #10
Farcasut 5a8faf3
Move Most Viewed Pages Macro to livetable #10
Farcasut a5625b2
Move Most Viewed Pages Macro to livetable #10
Farcasut 5418b75
Move Most Viewed Pages Macro to livetable #10
Farcasut 737c3c7
Move Most Viewed Pages Macro to livetable #10
Farcasut 6b50494
Move Most Viewed Pages Macro to livetable #10
Farcasut 1cba67e
Move Most Viewed Pages Macro to livetable #10
Farcasut bd7ec80
Move Most Viewed Pages Macro to livetable #10
Farcasut 6fcb827
Move Most Viewed Pages Macro to livetable #10
Farcasut 692ef5c
[MISC FIX]
Farcasut 0e9b79d
Merge branch 'main' into livetable
Farcasut f84fdfa
Removed a file
Farcasut 301b284
Move Most Viewed Pages Macro to livetable #10
Farcasut 98e3e52
Move Most Viewed Pages Macro to livetable #10
Farcasut b440066
Move Most Viewed Pages Macro to livetable #10 * Removed a template
Farcasut c658148
Row Evolution Feature for the Most Viewed Pages #15
Farcasut 18b7f17
Row Evolution Feature for the Most Viewed Pages #15
Farcasut 5b91874
Move Most Viewed Pages Macro to livetable #10
Farcasut 0cfb0cd
Move Most Viewed Pages Macro to livetable #10
Farcasut ef662cf
Move Most Viewed Pages Macro to livetable #10
Farcasut a4f749a
Row Evolution feature for the MostViewedPages #15
Farcasut 9ec0fe3
Delete RowEvolution.xml
Farcasut 7861833
Row Evolution feature for the MostViewedPages #15
Farcasut b667fe0
Merge remote-tracking branch 'origin/RowEvolution' into RowEvolution
Farcasut 421cede
Move Most Viewed Pages Macro to livetable #10
Farcasut fb38911
Row Evolution feature for the MostViewedPages #15
Farcasut 46243d0
Move Most Viewed Pages Macro to livetable #10
Farcasut 4ffb909
Move Most Viewed Pages Macro to livetable #10
Farcasut 8250522
Move Most Viewed Pages Macro to livetable #10
Farcasut 03276f6
Move Most Viewed Pages Macro to livetable #10
Farcasut 5aa4790
Row Evolution feature for the MostViewedPages xwikisas#15
Farcasut f3ff8f7
Merge branch 'livetable' into RowEvolution
Farcasut 0222c08
Move Most Viewed Pages Macro to livetable #10
Farcasut b1a5c78
Move Most Viewed Pages Macro to livetable #10
Farcasut c1cc026
Merge branch 'livetable' into RowEvolution
Farcasut b1415fa
Row Evolution feature for the MostViewedPages xwikisas#15
Farcasut 29b2bb9
Move Most Viewed Pages Macro to livetable #10
Farcasut 809805d
Move Most Viewed Pages Macro to livetable #10
Farcasut 5f3ca30
Merge branch 'livetable' of https://github.com/Farcasut/application-a…
Farcasut 84d2e1e
[MISC] Merged livetable branch
Farcasut c8f1cf8
Move Most Viewed Pages Macro to livetable #10
Farcasut 1a06327
Merge branch 'site_search_keyword' into demo
Farcasut 1223dd2
Move Most Viewed Pages Macro to livetable #10
Farcasut feb2661
Merge branch 'livetable' into RowEvolution
Farcasut d5bb870
Move Most Viewed Pages Macro to livetable #10
Farcasut f48007b
Row Evolution feature for the MostViewedPages xwikisas#15
Farcasut 11d1b37
Merge branch 'livetable' into RowEvolution
Farcasut eb393af
Row Evolution feature for the MostViewedPages #15
Farcasut 7c21c51
Row Evolution feature for the MostViewedPages #15
Farcasut c35b398
Row Evolution feature for the MostViewedPages #15
Farcasut e665ed5
Row Evolution feature for the MostViewedPages #15
Farcasut 0a3e6f9
Row Evolution feature for the MostViewedPages #15
Farcasut ec6ea6f
Row Evolution feature for the MostViewedPages #15
Farcasut d02c05a
Row Evolution feature for the MostViewedPages #15
Farcasut e3e267d
Row Evolution feature for the MostViewedPages #15
Farcasut b64347a
Row Evolution feature for the MostViewedPages #15
Farcasut 075aa99
Row Evolution feature for the MostViewedPages #15
Farcasut 46543a8
Row Evolution feature for the MostViewedPages #15
Farcasut f08de2e
Row Evolution feature for the MostViewedPages #15
Farcasut e888f9d
Row Evolution feature for the MostViewedPages #15
Farcasut e11aef7
Moved the MostViwedMacro to livedata from livetable
Farcasut b89d508
Migrate MostViewedMacro from livetable to livedata #21
Farcasut 4896072
Row Evolution feature for the MostViewedPages #15
Farcasut 9579244
Row Evolution feature for the MostViewedPages #15
Farcasut 209e8ec
Bug Fixes:
Farcasut 0a8dd34
[MISC] Changed the name of a function
Farcasut 89880ff
Row Evolution feature for the MostViewedPages #15
Farcasut 673880b
Merge branch 'main' into migrateToLivedata
Farcasut 3d65042
Row Evolution feature for the MostViewedPages #15
Farcasut c15af98
Migrate MostViewedMacro from livetable to livedata #21
Farcasut eededf2
Migrate MostViewedMacro from livetable to livedata #21
Farcasut cd6e3cc
Merge branch 'migrateToLivedata' into RowEvolution
Farcasut 9eca559
Row Evolution feature for the MostViewedPages #15
Farcasut ee29da9
Migrate MostViewedMacro from livetable to livedata #21
Farcasut dff20a2
Merge branch 'migrateToLivedata' into RowEvolution
Farcasut 0f13439
Migrate MostViewedMacro from livetable to livedata #21
Farcasut 347c851
Merge branch 'migrateToLivedata' into RowEvolution
Farcasut c383430
Row Evolution feature for the MostViewedPages #15
Farcasut 89b5a01
Row Evolution feature for the MostViewedPages #15
Farcasut 057f16c
Row Evolution feature for the MostViewedPages #15
Farcasut 0c44c9c
Row Evolution feature for the MostViewedPages #15
Farcasut a5c933b
Row Evolution feature for the MostViewedPages #15
Farcasut 32b69b8
Row Evolution feature for the MostViewedPages #15
Farcasut 13dfbb3
Test functiona
Farcasut bf610f0
Merge branch 'main' into functionalTests
Farcasut 4841735
test
Farcasut ac3e15b
page object
Farcasut 3eb23a5
test
Farcasut 6572295
functional tests
Farcasut fba25f8
Check the matomo credentials for the api
Farcasut 4e839e9
env for ExtraTools
Farcasut c232722
test
Farcasut ed9aeb7
Test container nou
Farcasut 52f5b72
Merge branch 'main' into functionalTests
Farcasut 252738b
dashboard dep
Farcasut e56bffe
Merge branch 'main' into functionalTests
Farcasut fbf6817
Merge branch 'main' into functionalTests
Farcasut b42d4c7
test
Farcasut 0f6f3d5
Functional tests
Farcasut 2e63193
Draft Functional Tests #38
Farcasut 9b4c3f3
Merge branch 'main' into functionalTests
Farcasut 932f687
Admin PageView
Farcasut 83b4a48
*
Farcasut 778ebe1
Matomo page object
Farcasut 16d10b7
Merge branch 'main' into functionalTests
Farcasut 9c37c17
Backup
Farcasut 9429853
BACKUP
Farcasut d87fee9
Merge branch 'main' into functionalTests
Farcasut 10e6d8a
Backup
Farcasut 753ea0f
Create functional tests #45
Farcasut f501faa
Merge branch 'main' into functionalTests
Farcasut f954595
Create functional tests #45
Farcasut 93fb359
Create functional tests #45
Farcasut bd616cb
Create functional tests #45
Farcasut 9d3d437
Create functional tests #45
Farcasut 4fe5e97
Create functional tests #45
Farcasut 59080ff
Updated the parent to 14.10 and added new dependencies to make sure t…
Farcasut c0bc012
Renamed classes and methods, added a class to a html element to make …
Farcasut f5add7f
Create functional tests #45
Farcasut 05114fe
Create functional tests #45
Farcasut 06f2ceb
Merge branch 'main' into functionalTests
Farcasut 19fb31d
Create functional tests #45
Farcasut File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
148 changes: 148 additions & 0 deletions
148
application-analytics-test/application-analytics-test-docker/pom.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,148 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
|
|
||
| <!-- | ||
| * See the NOTICE file distributed with this work for additional | ||
| * information regarding copyright ownership. | ||
| * | ||
| * This is free software; you can redistribute it and/or modify it | ||
| * under the terms of the GNU Lesser General Public License as | ||
| * published by the Free Software Foundation; either version 2.1 of | ||
| * the License, or (at your option) any later version. | ||
| * | ||
| * This software is distributed in the hope that it will be useful, | ||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| * Lesser General Public License for more details. | ||
| * | ||
| * You should have received a copy of the GNU Lesser General Public | ||
| * License along with this software; if not, write to the Free | ||
| * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
| * 02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||
| --> | ||
|
|
||
| <project xmlns="http://maven.apache.org/POM/4.0.0" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
| <modelVersion>4.0.0</modelVersion> | ||
| <parent> | ||
| <groupId>com.xwiki.analytics</groupId> | ||
| <artifactId>application-analytics-test</artifactId> | ||
| <version>1.0-SNAPSHOT</version> | ||
| </parent> | ||
| <artifactId>application-analytics-test-docker</artifactId> | ||
| <packaging>jar</packaging> | ||
| <description>Functional tests for the Analytics Application (PRO)</description> | ||
| <properties> | ||
| <!-- Functional tests are allowed to output content to the console --> | ||
| <xwiki.surefire.captureconsole.skip>true</xwiki.surefire.captureconsole.skip> | ||
| </properties> | ||
| <dependencies> | ||
|
|
||
| <!-- Use a fake licensor script service while running the functional tests. --> | ||
| <dependency> | ||
| <groupId>com.xwiki.licensing</groupId> | ||
| <artifactId>application-licensing-test-api</artifactId> | ||
| <version>${licensing.version}</version> | ||
| <scope>runtime</scope> | ||
| </dependency> | ||
| <!-- I need the Administration Application to test the custom configs. --> | ||
| <dependency> | ||
| <groupId>org.xwiki.platform</groupId> | ||
| <artifactId>xwiki-platform-menu-ui</artifactId> | ||
| <version>${platform.version}</version> | ||
| <type>xar</type> | ||
| </dependency> | ||
Farcasut marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <dependency> | ||
| <groupId>com.xwiki.analytics</groupId> | ||
| <artifactId>application-analytics-ui</artifactId> | ||
| <version>${project.version}</version> | ||
| <type>xar</type> | ||
| <exclusions> | ||
| <!-- Run the functional tests without a license. --> | ||
| <exclusion> | ||
| <groupId>com.xwiki.licensing</groupId> | ||
| <artifactId>application-licensing-licensor-api</artifactId> | ||
| </exclusion> | ||
| </exclusions> | ||
| </dependency> | ||
|
|
||
| <!-- Test dependencies --> | ||
| <!-- Remove when licensing application has the parent to 14.10. --> | ||
| <dependency> | ||
| <groupId>com.xwiki.analytics</groupId> | ||
| <artifactId>application-analytics-test-pageobjects</artifactId> | ||
| <version>${project.version}</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.xwiki.platform</groupId> | ||
| <artifactId>xwiki-platform-model-api</artifactId> | ||
| <version>${platform.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.xwiki.commons</groupId> | ||
| <artifactId>xwiki-commons-extension-api</artifactId> | ||
| <version>${commons.version}</version> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.google.code.findbugs</groupId> | ||
| <artifactId>jsr305</artifactId> | ||
| <version>3.0.2</version> | ||
| </dependency> | ||
| <!-- Remove to here --> | ||
| <dependency> | ||
| <groupId>org.xwiki.platform</groupId> | ||
| <artifactId>xwiki-platform-test-docker</artifactId> | ||
| <version>${platform.version}</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.xwiki.licensing</groupId> | ||
| <artifactId>application-licensing-test-dependencies</artifactId> | ||
| <version>${licensing.version}</version> | ||
| <type>pom</type> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| </dependencies> | ||
| <build> | ||
| <testSourceDirectory>src/test/it</testSourceDirectory> | ||
| <plugins> | ||
| <!-- We need to explicitly include the failsafe plugin since it's not part of the default maven lifecycle --> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-failsafe-plugin</artifactId> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
| <profiles> | ||
| <profile> | ||
| <id>clover</id> | ||
| <!-- Add the Clover JAR to the WAR so that it's available at runtime when XWiki executes. | ||
| It's needed because instrumented jars in the WAR will call Clover APIs at runtime when they execute. --> | ||
| <dependencies> | ||
| <dependency> | ||
| <groupId>org.openclover</groupId> | ||
| <artifactId>clover</artifactId> | ||
| </dependency> | ||
| </dependencies> | ||
| <build> | ||
| <plugins> | ||
| <plugin> | ||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-failsafe-plugin</artifactId> | ||
| <configuration> | ||
| <systemProperties combine.children="append"> | ||
| <!-- Tell the Docker-based test to activate the Clover profile so that the Clover JAR is added to | ||
| WEB-INF/lib --> | ||
| <property> | ||
| <name>xwiki.test.ui.profiles</name> | ||
| <value>clover</value> | ||
| </property> | ||
| </systemProperties> | ||
| </configuration> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
| </profile> | ||
| </profiles> | ||
| </project> | ||
34 changes: 34 additions & 0 deletions
34
...est/application-analytics-test-docker/src/test/it/com/xwiki/analytics/test/ui/AllITs.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| /* | ||
| * See the NOTICE file distributed with this work for additional | ||
| * information regarding copyright ownership. | ||
| * | ||
| * This is free software; you can redistribute it and/or modify it | ||
| * under the terms of the GNU Lesser General Public License as | ||
| * published by the Free Software Foundation; either version 2.1 of | ||
| * the License, or (at your option) any later version. | ||
| * | ||
| * This software is distributed in the hope that it will be useful, | ||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| * Lesser General Public License for more details. | ||
| * | ||
| * You should have received a copy of the GNU Lesser General Public | ||
| * License along with this software; if not, write to the Free | ||
| * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
| * 02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||
| */ | ||
| package com.xwiki.analytics.test.ui; | ||
|
|
||
| import org.junit.jupiter.api.DisplayName; | ||
| import org.junit.jupiter.api.Nested; | ||
| import org.xwiki.test.docker.junit5.UITest; | ||
|
|
||
| @UITest | ||
| public class AllITs | ||
| { | ||
| @Nested | ||
| @DisplayName("Analytics UI Test") | ||
| class NestedAnalyticsIT extends AnalyticsIT | ||
| { | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.