Login

Screenshots for the Koha manual

New screenshots | All screenshots | Full test results | Manuals (wip)
en ar cs de el es fr fr_CA hi it pt pt_BR sk sv tr zh_Hant

Image details

smsopacoptions (#92)

Job

No job planned.

Difficulty

Hard

Spec (updated on Fri Sep 12 06:49:55 2025)

describe("admin/additional/smsopacoptions", function () {
    const languages = ['en', 'es-ES', 'fr-FR', 'de-DE', 'el-GR', 'hi', 'zh-Hant-TW'];
    languages.forEach((lang) => {
        describe(`in ${lang}`, () => {
            beforeEach(function(){
                // If previous test failed, skip this one
                if (Cypress.env("TEST_FAILED")) {
                    this.skip();
                }
                cy.query("INSERT IGNORE INTO sms_providers (name, domain) VALUES (\"Verizon\", \"vtext.com\"), (\"T-Mobile\", \"tmomail.net\")")
                cy.loginOpac();
                /* No specific padding defined */
                cy.set_cookie_lang(lang);
            });

            it("smsopacoptions", function () {
                cy.visitOpac("/cgi-bin/koha/opac-messaging.pl");
                cy.waitForPageLoad();
                cy.get(".main").should('be.visible').screenshot("smsopacoptions");
            });
        });
    });
    afterEach(function () {
        cy.query("DELETE FROM sms_providers WHERE name IN (\"Verizon\", \"T-Mobile\")")
        Cypress.env('PADDING_BEFORE_SCREENSHOT', undefined);
        if (this.currentTest.state === 'failed') {
            Cypress.env("TEST_FAILED", true);
        }
    });
});

Spec data

Page

opac-messaging.pl

Interface

opac

Log in

Yes

Element selector

.main

Missing selector

N

setup

sql INSERT IGNORE INTO sms_providers (name, domain) VALUES ("Verizon", "vtext.com"), ("T-Mobile", "tmomail.net")

workflow


        

teardown

sql DELETE FROM sms_providers WHERE name IN ("Verizon", "T-Mobile")

Notes

Prerequisites: preference EnhancedMessagingPreferencesOPAC=Allow, preference  SMSSendDriver=Email, existing SMS providers, be logged in on the OPAC

04-08-2025: I don't think we can show the drop-down menu unfolded

Additional KTD data

Thumbnails


Current Thumbnail old
New Thumbnail new
New (de)
New (el)
New (es)
New (fr)
New (hi)
New (zh_Hant)

Current

New (updated on Fri Sep 12 06:51:56 2025)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

Fri Sep 12 07:00:03 2025

Fri Sep 12 06:45:04 2025

Thu Sep 11 14:00:01 2025

Thu Sep 11 13:30:04 2025

Fri Aug 1 14:30:02 2025

Fri Aug 1 13:45:02 2025

Fri Aug 1 13:30:03 2025

Wed Jul 23 17:30:01 2025

Wed Jun 4 22:15:01 2025

Tue May 20 23:30:01 2025

Old screenshot