Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 8ce40cc2

Přidáno uživatelem Pavel Fidranský před asi 6 roky(ů)

fix Robot tests

Zobrazit rozdíly:

sources/imiger-core/src/main/webapp/tests/common.robot
1 1
*** Settings ***
2 2
Documentation	A resource file with reusable keywords and variables.
3 3

  
4
Library			Selenium2Library
4
Library			SeleniumLibrary
5 5
Library			OperatingSystem
6 6
Library			String
7 7

  
......
11 11
${DELAY}		0.1
12 12

  
13 13
${SERVER}			http://localhost:8080/imiger/
14
${TEST DATA PATH}	${CURDIR}${/}..${/}..${/}..${/}..${/}..${/}data${/}
14
${TEST DATA PATH}	${CURDIR}${/}..${/}..${/}..${/}..${/}..${/}..${/}data${/}
15 15

  
16 16
${UPLOAD FILES URL}	${SERVER}
17 17
${GRAPH URL}		${SERVER}/graph
......
31 31
Open Diagram
32 32
	${filePath}=		Normalize Path		${TEST DATA PATH}SPADe JSONs${/}aswi2017mutant-industries-ltd.json
33 33
	Choose File				name:file		${filePath}
34
	Select Radio Button		jsonFileFormat	spade
35
	Click Element			//div[@class="upload-form"]//button[@type="submit"]
34
	Select Radio Button		fileFormat		-968839389
35
	Click Button			Start visualization
36 36
	Wait Until Element Is Not Visible		//div[@id="loader"]
37 37

  
38 38

  
sources/imiger-core/src/main/webapp/tests/graph.robot
22 22

  
23 23
*** Test Cases ***
24 24
General
25
	Title Should Be			IMiGEr
25
	Title Should Be			IMiGEr - aswi2017mutant-industries-ltd.json
26 26
	# check component counter
27 27
	${count}=	Get Text	${componentCounter}
28 28
	Should Be Equal As Strings		${count}	loaded components: 19

Také k dispozici: Unified diff