After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 725154 - Add UI tests
Add UI tests
Status: RESOLVED OBSOLETE
Product: gnome-documents
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME documents maintainer(s)
GNOME documents maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-02-25 14:56 UTC by Debarshi Ray
Modified: 2021-07-05 11:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
added infrastructure for tests. (20.94 KB, patch)
2014-03-17 14:50 UTC, Pranav Kant
needs-work Details | Review
Add infrastructure for application tests (13.62 KB, patch)
2015-01-03 17:45 UTC, Pranav Kant
none Details | Review

Description Debarshi Ray 2014-02-25 14:56:01 UTC
Add Dogtail-based UI tests that are run both at make check time and as installed tests. See gnome-software as an example.
Comment 1 Pranav Kant 2014-03-17 14:50:39 UTC
Created attachment 272170 [details] [review]
added infrastructure for tests.

I am also maintaining separate branch testable here : https://github.com/pranavk/gnome-documents/tree/testable

for writing UI tests for gnome-documents.
Comment 2 Debarshi Ray 2014-03-17 20:31:49 UTC
Review of attachment 272170 [details] [review]:

Thanks for picking this up, Pranav! We sorely need tests. A few initial comments.

::: Makefile.am
@@ +1,1 @@
 ACLOCAL_AMFLAGS = -I m4 -I libgd ${ACLOCAL_FLAGS}

You missed:
 DISTCHECK_CONFIGURE_FLAGS = --disable-dogtail

::: configure.ac
@@ +110,3 @@
+              enable_dogtail=yes)
+AM_CONDITIONAL(ENABLE_DOGTAIL, test "$enable_dogtail" != no)
+

Why not go the whole distance and add lcov support too? See commit f8fca13f50480707eac52236fc3d89c6340ba20e in gnome-weather.

::: tests/Makefile.am
@@ +16,3 @@
+endif
+
+include $(top_srcdir)/git.mk

This is unrelated to this commit. Please use a separate commit for introducing git.mk managed .gitignore.
Comment 3 Pranav Kant 2014-05-05 22:04:08 UTC
Blocked by Bug 726794
Comment 4 Pranav Kant 2015-01-03 17:45:25 UTC
Created attachment 293668 [details] [review]
Add infrastructure for application tests

Based on gnome-photos
Comment 5 GNOME Infrastructure Team 2021-07-05 11:31:03 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-documents/-/issues/

Thank you for your understanding and your help.