ÿØÿà JFIF    ÿÛ „  ( %!1"%)+...383-7(-.+  -%%--------+------------/----------------------------ÿÀ  ¶" ÿÄ     ÿÄ @    !1AQaq‘¡"±ÁÑð2’BRráS‚ñ3b¢CT²Ò #cÿÄ    ÿÄ '   1!AQ2a"‘±#ÿÚ   ? ò(/p‘—–¢·,M|¯G»R£üešT. ôŸEoCFñ‡ 4ÔkåóxR|µÁ¨ÓDà!Ç´µ˜‡p ÍQ‹§!þž^õWsŒy  åÁ§$á«%ºq˜™JyyË0y«^Ϗ -3ÃÏËÈ£Æ\P’ä„s&•‹Üs üô'àWt¹pñCp$bÚF`·7.^)¾!)ÒÙ˜–ÅÏš^h¾ø³·ìe±ŒaeÖ—Í,e=B}Jéߦ$$½—šÙÜCC¯¶è8β–Åkèwx LÉngT±æ¹£Ócœ¿Í/©Éÿ ‰ÚCÒ­mq;Tt¶–}0"zÖPcd1š­¤tˆ„ÐÓâqú[™öUCŠ2޿د­É(¸ßúçšmW,Ò ºf‹Ån™ÄLêÁ8üÁkÁ€L¥ÍuJ1œôrÂSŒÓöt!7EUíïb)AËi¬â-ÙHk8òÁiXYwÅ)O^"ÇØriÛô{»wRUKÙÏÚlÓ¬€‚’שT ] ªb—ÊîKC^×M“xùäñz¬zJ× {4[¹M'IÆeH1LCWÕ]œûº WDæà°OÅ‚¹c²ÞuA–rL`HšpCez‡V’— Ž‚Ë„–ñ­'µR0ÕÖ=À:±G»C\nÆÉ5*¢ †3šhQ4ýÒi$Õ1"Ü]¢p-q3zcQ$ªö¨¥æf›‘»´ÝÚHá„e²JÇ–iÊ:·à¬Øc5Åk»Laª*wi [0Ówk ¦a¦0Õ²ÅÅ‚T¸’³q:Æ<¹ú Ò˜Æ}2VE•Ѐp¡Ô3Úº …h³^LJºçì¥Ánó|˜ÖˆÎˆ+« ¦dø‘Mº–d\ªDðÛ„Ì×LÝ——Ð9Ç|•FèçVm™¨€™3õS–9Äå¢<̉Ìm¢±`·º˜&Z²ž Ë®D«¶»6™‰©­HÈ Àá«h­i³04æ’hxœi3ï¨(ÓL·†‹¶ËpŒ ƒÜÒ? :õdsÀ –3æÓ·Üjâ¬9—]8n¼&]I F£¼…ì–—Œ0v°LǐÅfÛ2TÖ’aµ˜N@ÖBSÏ^à´4-±°b×nÈÈœÆD=KdŒø…ÄÈK,›ÖR§fjü$^ÔÎ!„6^ s:Üun\ôkCÞò÷<—Lúl Í›G¹ÀPá¼Nc¡šÒ…ÙWͳœ±vÊáЄ×9‹P‰cEØ‘™›µŸP<×g1 º©Ø¬wiÁ^l5× I/';Ë+´Z‡ÓÄFÕp[Èð’ HÄ ó 9¬Dl4“é±Ï”V=^Hð;žLädÉa‚°Ë,#/Ž~²BÔÛ QãñQtIeórVB,ÏÂf‹4#Μc‹É3ZIÖ Œ¢¥·üxa‡Ãçè„jŠ[5 Ä!U?,3žÎ×…ðdÓ÷háŠA‰ìÄ4÷ÃÜZÃE{‰®+W\ZÍE[‰»µk»MÝ­`¢©†˜ÃV‹-f¢¡†¢a«eŠ%«Y¨©q%jâd,Ôq`) ¤¦…šˆ ¦E>0Ùb²t–Ÿ  ÷jsςҒKÈcø(é›;k(’#ôŒQ ™C> õ³M9óºÆµ¤çâ;uÀ)5>RÔ¸fÓ~Ȧ—’-$fe«"FâUˆÊwµPÏu w+"åÉó¨6s™Û9(À¨ù©hE°½†n`m~“@©›p!Vkhµ Á1šbEqqÊ@ºèl›2 –Yã%‘‚hÛ{a¶‡ÅÞM²¬çL34®Çl]®‹ŽØŒm'RÜe35æöˆ­Á­ cP9šeÁköo´L³Ì=p8]”‡B¶,šº|ɏdzXˆØk*ÇÚ{#ñ‰pã(€¶‡9ý'šÜ³½¯kƒ†Â’ëSOƒ•Å®H6+a¢µˆ‹Y¨b˜b+XˆÖ!°u!¢"µˆˆn2ˆ Å0Ä`Å Ô®c(ÓÜGº•Ä»Œ âWî%q.áÐÄ÷î%umÍ£+ÜQ,Vn¦-GphU¸¢X­&,Gt ·K¢ÅÅ·¥RÄÊÉbKn N­R2g$VµÕó Qr#–ÓZUÏð0ÎtÙÀœz ëöo“Îk¯n„T°"SÞ+³/…€½"ižãO%Í%&Δâ‘ËØ´IˆÓ°Ë‰ÞM3.™yçÁzit›`4C`k¢¼á!álÄï sÂ[×!¤l¾æo"ƒIÔ'@ªu)3›ô®“@Z à¾] üœ'‡4¸PÞkÁ-qÄH‰ÓÍBd´ÿ —¹°ÄA&ÊUC„öz‚‚RæŠtf¬>˜ÑidšEçÑL÷áý¡V±h§­c¿¥¨ƒ@g¼…Ýö^ÞËc.ž„æ“I[ ª+·zÐÒÚ,½Ð»¶€C›7jk$๖€Ž¾ÅÙpp¶ÍþéΤ ½ØÎŒq ñpæžÅ¥#Øâ49ÃÂK^MYV“,¶Éz_òæ:…;Õ«¦I3âJ£¤û5$7Èxün\â]Êe¯(Ÿ&Ž‹¶2<6Ćf× æ¢ƱqWı[(ÙÂŽç‚T7¨@ÈÉÍß‚ïÙ"&3TYlGށ†)†#5ŠA©^T2ÆÁ†)©†©†¤yGXÁ†©"†)©¼ÅV WS†#©]R–r‹q5ÕbâWþBh¯u+ªÅÄ×ü„nÑ^êkªÁj‰jeœWˆÕÕ`µDµ2Ì+Ä µDµµ5Ô{¤Þ0RF’H÷AÛ<ÊÁ§ ƈæ0Ñ£ê4 öÚµ[¬/1²€â<-¬šö²r×0o×w ´xÐÒË„ g01¬„åEM蛇Ã\6µE›‘fÙO k÷CºnÓ1`iîÒ² áÂ!ÑLÄÿ ³¬\õ*:M=Ç»c‹2[‰ØsÕLò\ŒK L^™üÄN\¶#» Ç\……ßïIœÉ$¸ÎñÍ®ÔHÇ Ûí/´>Li”„†g^$ 7NÍÑÑ2M2ªNg=k½Ð}Ÿl6‡ —JWˆ”ÞéT·+µ¦üÂFè¢Vs6ýÆ4»2+2IÝ9ô9®ÇGÙÇ1+Ä8;*Õ§ž½D*îÑWÚçá3Ma¤·ˆ¥t}š²Ü…Q+Æüµ8HíS”üxGéÁˆ¦Ël„éÈ 5 µÄƒ6äÜ(kIš¯S†fÖ&¸®×v|Äyˆ*禌Éù@7-®Ä[]ÎÖ¿ê`º…=:…žJVnݳvðÖKE¼‚ »mà ÷f®:Ë ™–4rð¡4` ܹçž~‹C=œ…¾Ïj|VDtK.ƒ"9 Ï ­–éXá³6WÒïIL-Ї Ç home/smkb8269/public_html/lms.smk-almanshuriyah.sch.id/mod/quiz/tests/behat/group_mode.feature000064400000007714152267025200026404 0ustar00@mod @mod_quiz Feature: Viewing results by group In order to view quiz results on a large course As a teacher I need to filter results by group Background: And the following "courses" exist: | fullname | shortname | | Test Course 1 | C1 | And the following "groups" exist: | name | course | idnumber | participation | | Group 1 | C1 | G1 | 1 | | Group 2 | C1 | G2 | 1 | | Group 3 | C1 | G3 | 0 | And the following "users" exist: | username | firstname | lastname | email | | teacher1 | TeacherG1 | 1 | teacher1@example.com | | noneditor1 | NoneditorG1 | 1 | noneditor1@example.com | | noneditor2 | NoneditorNone | 2 | noneditor2@example.com | | user1 | User1G1 | 1 | user1@example.com | | user2 | User2G2 | 2 | user2@example.com | | user3 | User3None | 3 | user3@example.com | | user4 | User4NPgroup | 4 | user4@example.com | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | | noneditor1 | C1 | teacher | | noneditor2 | C1 | teacher | | user1 | C1 | student | | user2 | C1 | student | | user3 | C1 | student | | user4 | C1 | student | And the following "group members" exist: | user | group | | teacher1 | G1 | | noneditor1 | G1 | | user1 | G1 | | user2 | G2 | | user4 | G3 | And the following "activities" exist: | activity | name | intro | course | idnumber | groupmode | | quiz | Separate quiz | quiz with separate groups | C1 | quiz1 | 1 | | quiz | Visible quiz | quiz with visible groups | C1 | quiz2 | 2 | | qbank | Qbank 1 | | C1 | qbank1 | | And the following "question categories" exist: | contextlevel | reference | name | | Activity module | qbank1 | Test questions | And the following "questions" exist: | questioncategory | qtype | name | questiontext | | Test questions | truefalse | TF1 | First question | | Test questions | truefalse | TF2 | Second question | And quiz "Separate quiz" contains the following questions: | question | page | | TF1 | 1 | And quiz "Visible quiz" contains the following questions: | question | page | | TF1 | 1 | Scenario Outline: Editing teachers should see all groups on the Results page. Non-editing teachers should see just their own groups in Separate groups mode, all groups in Visible groups mode. Given I am on the "" "quiz activity" page logged in as "" And I follow "Results" Then I "All participants" And I "Group 1" And I "Group 2" And I "Sorry, but you need to be part of a group to see this page." And I should not see "Group 3" Examples: | quiz | user | all | G1 | G2 | error | | quiz1 | teacher1 | should see | should see | should see | should not see | | quiz1 | noneditor1 | should not see | should see | should not see | should not see | | quiz1 | noneditor2 | should see | should not see | should not see | should see | | quiz2 | teacher1 | should see | should see | should see | should not see | | quiz2 | noneditor1 | should see | should see | should see | should not see | | quiz2 | noneditor2 | should see | should see | should see | should not see | home/smkb8269/public_html/lms.smk-almanshuriyah.sch.id/mod/data/tests/behat/group_mode.feature000064400000014222152267077440026332 0ustar00@mod @mod_data Feature: Group data activity In order to create a database with my group As a student I need to add and view entries for the groups I am a member of Background: And the following "courses" exist: | fullname | shortname | | Test Course 1 | C1 | And the following "groups" exist: | name | course | idnumber | participation | | Group 1 | C1 | G1 | 1 | | Group 2 | C1 | G2 | 1 | | Group 3 | C1 | G3 | 0 | And the following "users" exist: | username | firstname | lastname | email | | teacher1 | TeacherG1 | 1 | teacher1@example.com | | teacher2 | TeacherGNone | 2 | teacher2@example.com | | teacher3 | TeacherGNone | 3 | teacher3@example.com | | user1 | User1G1 | 1 | user1@example.com | | user2 | User2G2 | 2 | user2@example.com | | user3 | User3None | 3 | user3@example.com | | user4 | User4NPgroup | 4 | user4@example.com | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | | teacher2 | C1 | editingteacher | | teacher3 | C1 | teacher | | user1 | C1 | student | | user2 | C1 | student | | user3 | C1 | student | | user4 | C1 | student | And the following "group members" exist: | user | group | | teacher1 | G1 | | user1 | G1 | | user2 | G2 | | user4 | G3 | And the following "activities" exist: | activity | name | intro | course | idnumber | groupmode | | data | Separate data | Data with separate groups | C1 | data1 | 1 | | data | Visible data | Data with visible groups | C1 | data2 | 2 | And the following "mod_data > fields" exist: | database | type | name | | data1 | shorttext | separatetext | | data2 | shorttext | visibletext | And the following "mod_data > entries" exist: | database | user | group | separatetext | | data1 | user1 | G1 | I am user 1 | | data1 | user2 | G2 | I am user 2 | And the following "mod_data > entries" exist: | database | user | separatetext | | data1 | user3 | I am user 3 | And the following "mod_data > entries" exist: | database | user | group | visibletext | | data2 | user1 | G1 | I am user 1 | | data2 | user2 | G2 | I am user 2 | And the following "mod_data > entries" exist: | database | user | visibletext | | data2 | user3 | I am user 3 | | data2 | user4 | I am user 4 | Scenario Outline: Users should see their own participation groups in "separate groups" mode, and all participation groups in "visible groups" mode. Given I am on the "" "data activity" page logged in as "" Then I "All participants" And I "Group 1" And I "I am user 1" And I "Group 2" And I "I am user 2" # All users should see entries with no group. And I should see "I am user 3" # No-one should see non-participation groups. And I should not see "Group 3" Examples: | data | user | all | G1 | G2 | user1 | user2 | | data1 | teacher1 | should see | should see | should see | should see | should see | | data1 | teacher2 | should see | should see | should see | should see | should see | | data1 | teacher3 | should see | should not see | should not see | should not see | should not see | | data1 | user1 | should not see | should see | should not see | should see | should not see | | data1 | user2 | should not see | should not see | should see | should not see | should see | | data1 | user3 | should see | should not see | should not see | should not see | should not see | | data1 | user4 | should see | should not see | should not see | should not see | should not see | | data2 | teacher1 | should see | should see | should see | should see | should see | | data2 | teacher2 | should see | should see | should see | should see | should see | | data2 | teacher3 | should see | should see | should see | should see | should not see | | data2 | user1 | should see | should see | should see | should see | should not see | | data2 | user2 | should see | should see | should see | should not see | should see | | data2 | user3 | should see | should see | should see | should see | should not see | | data2 | user4 | should see | should see | should see | should see | should not see | Scenario Outline: When viewing a database in visible groups mode, a user should only have the "Add entry" button for their own participation groups Given I am on the "data2" "data activity" page logged in as "" And I select "" from the "group" singleselect And I should see "Add entry" When I select "" from the "group" singleselect Then I should not see "Add entry" Examples: | user | mygroup | othergroup | | user1 | Group 1 | Group 2 | | user2 | Group 2 | Group 1 | | user1 | All participants | Group 2 | | user2 | All participants | Group 1 | Scenario Outline: Users in no groups or non-participation groups should not be able to add entries Given I am on the "" "data activity" page logged in as "" Then I should not see "Add entry" Examples: | data | user | | data1 | user3 | | data1 | user4 | | data2 | user3 | | data2 | user4 |