Fitnesse - getting ad clicking link

Certified Senior Developer

Hello everybody,

I have the following snippet

a!cardLayout(
	  contents: a!sideBySideLayout(
		items: {
		  /*Icona*/
		  a!sideBySideItem(
			item: a!richTextDisplayField(
			  labelPosition: "COLLAPSED",
			  value: a!richTextIcon(
				icon: fv!item.ICON_LEVEL_1,
				color: if(
				  fv!item.LEVEL_NAME = local!selectedliv1,
				  "STANDARD",
				  "SECONDARY"
				),
				size: if(local!collapseNav, "LARGE", "MEDIUM")
			  ),
			  align: "LEFT"
			),
			width: "MINIMIZE"
		  ),
		  /*Label*/
		  a!sideBySideItem(
			item: a!richTextDisplayField(
			  accessibilityText: "CARD_ACCESSIBILITY_TEXT",
			  label:"COLUMN_ONE_TEXT",
			  labelPosition: "COLLAPSED",
			  value: a!richTextItem(
				text: rule!RGF_GetLabelFromLanguages(fv!item.LEVEL_NAME),
				color: "ACCENT",
				size: "MEDIUM",
			  )
			),
		  )
		},
	  ),
	  link: a!dynamicLink(
		label:"COLUMN_ONE_LINK",
		value: fv!item.LEVEL_NAME,
		saveInto: {
		  local!selectedliv1,
		  a!save(
			local!rowsLevel_2,
			rule!RGF_GetLabelFromTablePermissionsLiv1e2(
			  levelNumber: 2,
			  levelName: local!selectedliv1,
			  listGroups: tointeger(getGroupsForMemberUser(loggedInUser()))
			)
		  ),
		  
		  a!save(local!rowsLevel_3, null)
		}
	  ),
	  showBorder: false
	)

that generates the following screen.

I would that Fitnesse click on the second item generated (the link "Massive loading") so I wrote with following script

!| script |
| click on link | Massive loading |

but that did not work, it showed the following message:

Timeout period reached: Wait for Link - Massive loading

I tried then with

!| script |
| click on link | COLUMN_ONE_TEXT[2] |

but nothing again, it showed the following message:

Timeout period reached: Wait for Link - COLUMN_ONE_TEXT[2]

By the way, I have read all tips in cheat sheet but I did not find any effective suggestions. 

Could you please give me some help or useful hint? Where I am wrong?

Thank you in advance, best regards.
Paolo

  Discussion posts and replies are publicly visible