Login

Screenshots for the Koha manual

New screenshots | All screenshots | Full test results | Manuals (wip)
en de el es fr hi zh_Hant

Image details

smsopacoptions (#92) ❌ Not validated

Job

No job planned.

Difficulty

Hard

Spec (updated on Thu Dec 4 15:47:45 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(){
                // Skip if 'en' test failed
                if (Cypress.env("EN_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);
        // Set EN_TEST_FAILED if the 'en' test failed
        if (this.currentTest.parent.title.includes('in en') && this.currentTest.state === 'failed') {
            Cypress.env("EN_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 Thu Dec 4 18:38:35 2025)

New (de)

New (el)

New (es)

New (fr)

New (hi)

New (zh_Hant)

2025-12-01 12:15:14 +0000

2025-09-12 07:00:03 +0000

2025-09-12 06:45:04 +0000

2025-09-11 14:00:01 +0000

2025-09-11 13:30:04 +0000

2025-08-01 14:30:02 +0000

2025-08-01 13:45:02 +0000

2025-08-01 13:30:03 +0000

2025-07-23 17:30:01 +0000

2025-06-04 22:15:01 +0000

2025-05-20 23:30:01 +0000

2025-12-04 18:45:01 +0000

2025-12-01 12:15:14 +0000

Old screenshot