Cypress Test-Runner: Hide detailed messages, instead of being expanded? - integration-testing

A default behaviour of the Cypress Test-Runner is that the messages-list on the left-panel is expanded. So the detailed messages are shown.
As shown here:
One can collapse and hide the messages by clicking the triangle-button.
It then looks that way:
Is there a way to reverse the default behaviour?
So that the messages-list is hidden by default and one has to click the triangle to expand the details.

As of today(v5.3.0), Cypress doesn't provide an option to keep the test runner messages in an opened state or a closed state by default. You can refer the below Github links for more info -
https://github.com/cypress-io/cypress/issues/6270
https://github.com/cypress-io/cypress/issues/7820

Related

AEM6.5 scheduled activation status icon is not shown

I've seen that in earlier versions of AEM, when we schedule a page to get activated at a later time, a small calendar icon is showing up under the status column. When we hover over this icon, it displays the scheduled date and time.
But, I can't see that scheduled activation calendar icon anymore. I can only see the workflow icon under the status column.
Is there a way how I can display the scheduled activation status icon in AEM 6.5?
Many thanks in advance for all your help.
This should still be visible by default in AEM 6.5 so you may not need any custom implementation. If it isn't working, maybe there's a bug or there's an existing customization that's preventing those icons from working.
In the list view
In the column that displays the publication status, there's a faint calendar icon. It's quite low-contrast though. Hovering over it will reveal the scheduled publication date.
In the card view
You should be able to see the time of scheduled activation in the page preview on the right hand side.
How you could change or add icons
If you still want to add an icon, you should be able to achieve this via overlaying parts of the sites console. You'd have to find the right scripts under /libs and create an overlay under /apps
This is also where you'd look if any icons available OOTB are missing.
More on the subject:
Using the Sling Resource Merger
Customizing the consoles

Opening and Closing Browser

I am new to TOSCA (just trying to learn by self-studying - have a trial license).
I was trying to build a simple test case to open and close an application. In it I have used the TBox Window Operation Module to close the Browser but when I run it in scratchbox, I don't get any output. It just opens the browser to the demo app and exits without giving a success or an error message. I want to know why it isn't closing the browser window and giving me a success message.
Here is a screenshot:
Any help on this is appreciated.
Your testcase looks alright to me. I just tried myself and this should work.
After you've run the test you can always open up the scratchbook again, by clicking the 'scratchbook' button in the ribbon on the 'home' tab in the 'go to' group:
You should then see the details of your last run. A very common thing that happens to me is that Tosca cannot uniquely identify the window (e.g. because I have two windows with the same title open). The error would look like this:
So I'd check if opened the demo webshop more than once.
What is also good to know is, that Tosca will use your standard browser in the 'OpenUrl' module if you have not specified it otherwise, and the 'Window Operation Module' is agnostic to that. You can explicitly specify which browser to use in the 'OpenUrl' module by providing a TestConfiguration Parameter like this:
Hope that helps.
just use CloseBrowser module which can be found under Standard Modules.
Standard Modules are the set of modules which are shipped by default along with the installation of any Tosca instance.
You can use "close browser" standard module instead of window operation module to close the browser window.

How do I disable the "Customize Toolbar" from the Quick Access toolbar in Microsoft Access

I have an application I am developing with Access 2010. In certain circumstances I have to limit the users to a very limited subset of the application. This implies a limited Ribbon - by setting a dbProperties to "AllowAllMenus" to false, and changing the File menu (using a Custom Backstage ribbon).
This blocks most off the holes that would allow the user to get back to full menus, and then have access to data I would rather he didn't.
However, there is a hole in this process. The quick access toolbar as a little drop down arrow on the end of it with a hover of "Customise Toolbar". Using it drops down a menu with "More Commands...". Clicking on that drops you into the same dialog box you get when you chose "Options" from the File Menu (disabling of which was the prime purpose of my Backstage Ribbon change).
I can of course do the following in VBA
DoCmd.ShowToolbar "Ribbon",acToolbarNo
but that hides all the menus and Quick Access Toolbar completely. I don't want that, because I still need to allow the user to set up filters and toggle them on an off from the data they do see.
I can't find any other reference to how to block up this security hole in the applcation. Does anyone have any ideas on how?
Assuming that you already have your custom ribbon, make sure that you have assigned: startFromScratch="true".
However, this will disable not only "More Commands..", but all the other options of QAT dropdown list as well, except "Show Below the Ribbon".

Trying to get slider to work properly

I am using Cyclone Slider 2 on the following page: http://alexistmyers.com/test/ I have 2 slides in this slider, but it's only showing one, basically it's not cycling as it should. I have the settings set to automatically cycle through and in the admin section of the plugin it shows as cycling through, accept it won't do so on the actual page.
The weird part about this is, I used this exact same slider in another website I just created and it works perfectly. You can see it in action here: http://www.24hrbookkeeper.com/
I went to the forum for this plugin and they mentioned to go to Tools -> Web Developer -> Error Console in Firefox (I'm using Firefox to make these changes). I did that, but I did not see "Error Console", instead I see "Web Console" so I clicked on that, and this is what I see...
[20:54:27.874] "[cycle] terminating; zero elements found by selector"
This must mean something's wrong. Any ideas what this means and how to get this slider to work correctly on the first site I mentioned above? Any help you can give will be greatly appreciated!
Sounds like a conflict with another plugin but here are three things you can try:
Deactivate all plugins and reactivate them one by one.
Check that the plugin was properly installed and activated.
Check the link to the image in your media library and test with another image.

TideSDK - Show unread count (Icon Badges)

I intend to create a basic chat program with TideSDK. I was now wondering if it's possible to display new/unread message count in the dock/tray icon. For example, like this dock icon in OSX:
I did a quick search the docs but could not find anything about these so-called icon badges. Is this correct? My second thought was to update the entire dock/tray icon with a manually redrawn version to simulate badges. However, while I found API functions to update window icons I could also not find a way to update the main app icon.
Any ideas on how I could solve this?
Turns out this was a pretty stupid question. Didn't realise the UI node could also be clicked in the doc navigation tree. The desired functionality is actually built-in. See the relevant doc page here: http://tidesdk.multipart.net/docs/user-dev/generated/#!/api/Ti.UI
You have the following methods to achieve the desired or related result:
Ti.UI.setBadge(txt)
Ti.UI.setBadgeImage(imageURL)
Ti.UI.setDockIcon(icon)

Resources